diff --git a/app.py b/app.py index e476f68..2dd702b 100755 --- a/app.py +++ b/app.py @@ -525,6 +525,7 @@ def handle_request_initial_data(): def index(path): title_short = app_config.get('TITLE_SHORT', 'Default Title') title_long = app_config.get('TITLE_LONG' , 'Default Title') + admin_enabled = False if 'admin' in session: admin_enabled = session['admin']