fix error

This commit is contained in:
lelo 2025-05-01 17:24:23 +00:00
parent fef89666df
commit 4b37684593

1
app.py
View File

@ -525,6 +525,7 @@ def handle_request_initial_data():
def index(path): def index(path):
title_short = app_config.get('TITLE_SHORT', 'Default Title') title_short = app_config.get('TITLE_SHORT', 'Default Title')
title_long = app_config.get('TITLE_LONG' , 'Default Title') title_long = app_config.get('TITLE_LONG' , 'Default Title')
admin_enabled = False
if 'admin' in session: if 'admin' in session:
admin_enabled = session['admin'] admin_enabled = session['admin']