mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 11:32:38 +02:00
Remove debug statement.
This commit is contained in:
parent
9d1b0c4fa5
commit
d4bd5df6da
1 changed files with 0 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue