diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-06-05 17:24:01 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-06-05 17:24:01 +0100 |
| commit | 386475dc3583f3f5b3947474bc44027c98c0ac5e (patch) | |
| tree | 82053a23c69abda29245849d1a2b35b24a0f2795 /app/__init__.py | |
| parent | Clarify the trend evaluation text (diff) | |
| download | AnnotateChange-386475dc3583f3f5b3947474bc44027c98c0ac5e.tar.gz AnnotateChange-386475dc3583f3f5b3947474bc44027c98c0ac5e.zip | |
Code formatting
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 |
