Fix indenting and wrong keyword

This commit is contained in:
stratholme 2020-08-14 23:03:10 +02:00
parent dd6b0e0e83
commit 58fe0314a9

View file

@ -107,7 +107,7 @@ def smtp_send(content):
mail_message['To'] = recipient mail_message['To'] = recipient
smtp_server.sendmail(from_addr=smtp_from,\ smtp_server.sendmail(from_addr=smtp_from,\
to_addrs=recipient,msg=mail_message.as_string()) to_addrs=recipient,msg=mail_message.as_string())
delete mail_message['To'] del mail_message['To']
smtp_server.quit() smtp_server.quit()
def redmine_request(path): def redmine_request(path):