diff options
| author | rubenwardy <rw@rubenwardy.com> | 2019-11-14 22:24:37 +0000 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2019-11-14 22:24:37 +0000 |
| commit | df247b021e3a5c6be4a633aaccb7bcdf50e28740 (patch) | |
| tree | c2b8a7b80a88ea97ee5b722d7b2a35e563e2e0bd /app/__init__.py | |
| parent | 9f678d8fde5b807a8abec384419f34294cedaeef (diff) | |
| download | cheatdb-df247b021e3a5c6be4a633aaccb7bcdf50e28740.tar.xz | |
Improve docker image and deployment scripts
Diffstat (limited to 'app/__init__.py')
| -rw-r--r-- | app/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/__init__.py b/app/__init__.py index 2768fb0..c5d8000 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -48,7 +48,7 @@ gravatar = Gravatar(app, use_ssl=True, base_url=None) -if not app.debug: +if not app.debug and app.config["MAIL_UTILS_ERROR_SEND_TO"]: from .maillogger import register_mail_error_handler register_mail_error_handler(app, mail) |
