X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/ad7569ba83d33a796b896e6dfc9641edcaf272c3..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()