diff options
Diffstat (limited to 'src/jwebmail/__init__.py')
-rw-r--r-- | src/jwebmail/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jwebmail/__init__.py b/src/jwebmail/__init__.py index aa4d6a7..b7fd03f 100644 --- a/src/jwebmail/__init__.py +++ b/src/jwebmail/__init__.py @@ -32,7 +32,7 @@ else: from toml import load as toml_load toml_read_file = dict(load=toml_load, text=True) -__version__ = "2.0.0" +__version__ = "2.0.0.dev2" def validate_config(app): @@ -62,7 +62,7 @@ def create_app(): else: app.config.from_file(environ["JWEBMAIL_CONFIG"], **toml_read_file) - if app.config["JWEBMAIL"]["PROXY"]: + if app.config["JWEBMAIL"].get("PROXY"): app.wsgi_app = ProxyFix(app.wsgi_app, x_for=1, x_proto=1, x_host=1, x_prefix=1) validate_config(app) |