diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/jwebmail/__init__.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/jwebmail/__init__.py b/src/jwebmail/__init__.py index 26d6ffc..e1afe82 100644 --- a/src/jwebmail/__init__.py +++ b/src/jwebmail/__init__.py @@ -3,11 +3,11 @@ import pwd import sys from os import environ -from werkzeug.middleware.proxy_fix import ProxyFix from flask import Flask, g from flask_babel import Babel, get_locale from flask_login import LoginManager, login_required from jinja2 import ChainableUndefined +from werkzeug.middleware.proxy_fix import ProxyFix from .css import compile_css_command from .read_mails import load_user @@ -82,7 +82,11 @@ def create_app(): @app.context_processor def inject_version(): - return {"version": __version__, "get_locale": get_locale, "format_mail": format_mail} + return { + "version": __version__, + "get_locale": get_locale, + "format_mail": format_mail, + } @app.url_defaults def add_language_code(endpoint, values): |