diff options
Diffstat (limited to 'app/__init__.py')
| -rw-r--r-- | app/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/__init__.py b/app/__init__.py index 2fc47e3..0de174a 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -29,7 +29,7 @@ def create_app(config_class=Config): app.config.from_object(config_class) # Set the app version in the config (we use it in templates) - app.config['APP_VERSION'] = __version__ + app.config["APP_VERSION"] = __version__ # Initialize all extensions db.init_app(app) @@ -78,7 +78,6 @@ def create_app(config_class=Config): app.before_request(auto_logout) - if not app.debug: if app.config["MAIL_SERVER"]: auth = None |
