fix error
This commit is contained in:
parent
fef89666df
commit
4b37684593
1
app.py
1
app.py
@ -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']
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user