From 9f02e8aed1b59d209c66ca29ba1df843ea9be79e Mon Sep 17 00:00:00 2001 From: Dylan Garrett Date: Wed, 9 Jun 2021 20:48:24 -0700 Subject: Make showing path optional --- roka.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roka.py') diff --git a/roka.py b/roka.py index 4c4da57..ebfd9cb 100755 --- a/roka.py +++ b/roka.py @@ -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' -- cgit v1.2.3-54-g00ecf