From 58fe0314a93921233049600cf3c67c2f21951132 Mon Sep 17 00:00:00 2001 From: stratholme Date: Fri, 14 Aug 2020 23:03:10 +0200 Subject: [PATCH] Fix indenting and wrong keyword --- files/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/main.py b/files/main.py index 8a86ca9..7847ba1 100755 --- a/files/main.py +++ b/files/main.py @@ -107,7 +107,7 @@ def smtp_send(content): mail_message['To'] = recipient smtp_server.sendmail(from_addr=smtp_from,\ to_addrs=recipient,msg=mail_message.as_string()) - delete mail_message['To'] + del mail_message['To'] smtp_server.quit() def redmine_request(path):