From 386475dc3583f3f5b3947474bc44027c98c0ac5e Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Wed, 5 Jun 2019 17:24:01 +0100 Subject: Code formatting --- app/__init__.py | 3 +-- app/templates/base.html | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'app') 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 diff --git a/app/templates/base.html b/app/templates/base.html index f11760a..eec1fc2 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -49,9 +49,11 @@ {% block app_content %} {% endblock %} + {%- block footer %} + {%- endblock footer %} {% endblock %} -- cgit v1.2.3