diff options
author | Dylan Garrett <dylan.garrett@gmail.com> | 2021-06-09 20:48:24 -0700 |
---|---|---|
committer | Dylan Garrett <dylan.garrett@gmail.com> | 2021-06-09 20:48:24 -0700 |
commit | 9f02e8aed1b59d209c66ca29ba1df843ea9be79e (patch) | |
tree | e42314c548c9ff872bca10ff1b4a8e79fe53f206 /roka.py | |
parent | 3df6eace945cc07bc02cdeff3dbad5552954d279 (diff) | |
download | roka-9f02e8aed1b59d209c66ca29ba1df843ea9be79e.tar.gz roka-9f02e8aed1b59d209c66ca29ba1df843ea9be79e.zip |
Make showing path optional
Diffstat (limited to 'roka.py')
-rwxr-xr-x | roka.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -49,7 +49,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)) if __name__ == '__main__': desc = 'roka: listen to audiobooks with podcast apps via RSS' |