require APPLICATION_SETTINGS to be set

blueprint_refactoring
Simon Pirkelmann 2022-09-16 21:55:48 +02:00
parent 74c6661f0e
commit 8d29fbe9cd
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ def create_app():
app.config.from_object(
'imaginaerraum_door_admin.default_app_config.DefaultConfig'
)
app.config.from_envvar('APPLICATION_SETTINGS', silent=True)
app.config.from_envvar('APPLICATION_SETTINGS')
token_file = Path(app.config.get('TOKEN_FILE'))
if not token_file.exists():