Fix in app.py

This commit is contained in:
Antonio de la Rosa 2021-06-29 17:56:44 +02:00
parent 088710e233
commit 68bcff71bf

View file

@ -30,7 +30,7 @@ def start_app():
JSON_SORT_KEYS=config.json_sort_keys
)
if hasattr(config, 'SERVER_NAME'):
if hasattr(config, 'server_name'):
app.config.update(
SERVER_NAME=config.server_name
)