Remove debug statement.

This commit is contained in:
Daniel Atwood 2019-10-06 14:53:24 +02:00
parent 48a6aa9f9a
commit e228bba139

View file

@ -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))