diff --git a/source/app/__init__.py b/source/app/__init__.py index 75124640b..443738b0f 100644 --- a/source/app/__init__.py +++ b/source/app/__init__.py @@ -167,10 +167,10 @@ def after_request(response): try: - run_post_init(development=app.config["DEVELOPMENT"]) + run_post_init(development=app.config['DEVELOPMENT']) except Exception as e: - app.logger.exception(f"Post init failed. IRIS not started") + app.logger.exception('Post init failed. IRIS not started') raise e lm.user_loader(load_user)