Compare commits
No commits in common. "e17d03b376f4c7f1cc33016a911bb21a6b4deeaa" and "4d0538479a8f05afc3b60056f33e4f49dcc26c1b" have entirely different histories.
e17d03b376
...
4d0538479a
|
@ -53,7 +53,6 @@ def sendMail(msg_body :str):
|
|||
message['Subject'] = "OwlBoard - dbmanager Logs"
|
||||
filename = "cif_data"
|
||||
message.attach(MIMEText(msg_body, "plain"))
|
||||
if os.path.exists(filename):
|
||||
with open(filename, "rb") as attachment:
|
||||
part = MIMEBase("application", "octet-stream")
|
||||
part.set_payload(attachment.read())
|
||||
|
|
Loading…
Reference in New Issue