X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/d3b0d0f597e0f84246dd755c6de3f29770134b44..7794c77e43f8c29ceefd58f446aef98e15d181ea:/forum/utils/mail.py diff --git a/forum/utils/mail.py b/forum/utils/mail.py index cecb5b4..4ab2a69 100644 --- a/forum/utils/mail.py +++ b/forum/utils/mail.py @@ -33,7 +33,7 @@ def create_connection(): connection = SMTP(str(settings.EMAIL_HOST), str(settings.EMAIL_PORT), local_hostname=DNS_NAME.get_fqdn()) - if (bool(settings.EMAIL_USE_TLS)): + if bool(settings.EMAIL_USE_TLS): connection.ehlo() connection.starttls() connection.ehlo()