aboutsummaryrefslogtreecommitdiff
path: root/roka.py
diff options
context:
space:
mode:
Diffstat (limited to 'roka.py')
-rwxr-xr-xroka.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/roka.py b/roka.py
index b7fc849..5729454 100755
--- a/roka.py
+++ b/roka.py
@@ -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')