mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 19:42:37 +02:00
Remove debug statement.
This commit is contained in:
parent
48a6aa9f9a
commit
e228bba139
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:
|
for filename, attachment, mime in attachments:
|
||||||
message.attach(filename=filename, data=attachment, mime=f"{mime} charset=utf-8")
|
message.attach(filename=filename, data=attachment, mime=f"{mime} charset=utf-8")
|
||||||
|
|
||||||
config.SEND_EMAILS = False
|
|
||||||
if not config.SEND_EMAILS:
|
if not config.SEND_EMAILS:
|
||||||
body = body.replace("https", "http")
|
body = body.replace("https", "http")
|
||||||
return print("Sending email", str(body))
|
return print("Sending email", str(body))
|
||||||
|
|
Loading…
Reference in a new issue