diff options
Diffstat (limited to 'src/jwebmail/__init__.py')
-rw-r--r-- | src/jwebmail/__init__.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/jwebmail/__init__.py b/src/jwebmail/__init__.py index a1bd00a..b4c01a1 100644 --- a/src/jwebmail/__init__.py +++ b/src/jwebmail/__init__.py @@ -4,7 +4,7 @@ from os import environ from shutil import which from babel import parse_locale -from flask import Flask, abort, g, redirect, request_finished, url_for +from flask import Flask, abort, g, redirect, url_for from flask_babel import Babel, get_locale from flask_login import LoginManager, login_required from flask_wtf.csrf import CSRFProtect @@ -36,7 +36,7 @@ else: toml_read_file = dict(load=toml_load, text=True) -__version__ = "2.8.2.dev0" +__version__ = "2.8.2.dev1" csrf = CSRFProtect() @@ -122,12 +122,6 @@ def create_app(): except ValueError: abort(404) - @request_finished.connect_via(app) - def close_qma(_app, **_): - if "read_mails" in g: - g.read_mails.close() - g.read_mails = None - return app |