From 9c9c9b7717932c336c56e3960de7910c1784c5c2 Mon Sep 17 00:00:00 2001 From: mpeltriaux Date: Fri, 28 Jan 2022 17:01:45 +0100 Subject: [PATCH] # HOTFIX * fixes bug where errors occured once an email shall be sent. See issue #87 for details --- konova/sub_settings/django_settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/konova/sub_settings/django_settings.py b/konova/sub_settings/django_settings.py index 9489125a..c1f2d435 100644 --- a/konova/sub_settings/django_settings.py +++ b/konova/sub_settings/django_settings.py @@ -212,10 +212,10 @@ if DEBUG: EMAIL_FILE_PATH = '/tmp/app-messages' DEFAULT_FROM_EMAIL = "no-reply@ksp.de" # The default email address for the 'from' element -EMAIL_HOST = os.environ.get('SMTP_HOST'), +EMAIL_HOST = os.environ.get('SMTP_HOST') EMAIL_REPLY_TO = os.environ.get('SMTP_REAL_REPLY_MAIL') SUPPORT_MAIL_RECIPIENT = EMAIL_REPLY_TO -EMAIL_PORT = os.environ.get('SMTP_PORT'), +EMAIL_PORT = os.environ.get('SMTP_PORT') # LOGGING BASIC_LOGGER = "logger"