diff options
author | Dylan Garrett <dylan.garrett@gmail.com> | 2021-06-13 14:21:07 -0700 |
---|---|---|
committer | Dylan Garrett <dylan.garrett@gmail.com> | 2021-06-13 14:21:07 -0700 |
commit | d6ca0e96012f93a14428cdbe43408110639e4ef7 (patch) | |
tree | 717888ba7dd2ebc1e8642ba76a2a235abfda5154 /roka.py | |
parent | 9ee86c545e14ade1fd14b7068bdda6cf5a7c47a9 (diff) | |
parent | 4cd0884b307e28bd9f2e531c41fb7b41600b02a4 (diff) | |
download | roka-d6ca0e96012f93a14428cdbe43408110639e4ef7.tar.gz roka-d6ca0e96012f93a14428cdbe43408110639e4ef7.zip |
Merge remote-tracking branch 'origin/master' into static-generation
Diffstat (limited to 'roka.py')
-rwxr-xr-x | roka.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -51,7 +51,8 @@ def list_books(): form = {'WWW-Authenticate': 'Basic realm="o/"'} return Response('unauthorized', 401, form) - return render_template('index.html', books=books) + return render_template('index.html', books=books, + show_path=app.config.get('SHOW_PATH', True)) def generate(static_path, base_url, audiobook_dirs): static_index_path = os.path.join(static_path, 'index.html') |