From d4bd5df6daa1739d71ec323d68cbb719c469a7e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=83taireau?= Date: Sun, 6 Oct 2019 14:53:24 +0200 Subject: [PATCH] Remove debug statement. --- copanier/emails.py | 1 - 1 file changed, 1 deletion(-) diff --git a/copanier/emails.py b/copanier/emails.py index 7036699..b0f6811 100644 --- a/copanier/emails.py +++ b/copanier/emails.py @@ -14,7 +14,6 @@ def send(to, subject, body, html=None, copy=None, attachments=None): for filename, attachment, mime in attachments: message.attach(filename=filename, data=attachment, mime=f"{mime} charset=utf-8") - config.SEND_EMAILS = False if not config.SEND_EMAILS: body = body.replace("https", "http") return print("Sending email", str(body))