Clean-up #70

Merged
pfm merged 2 commits from 69-cleanup into master 2022-05-14 11:49:15 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 92f3cedc51 - Show all commits

View File

@ -52,7 +52,7 @@ def authenticate_maybe(smtp):
smtp.login(conf.get_item('smtp', 'username'), conf.get_item('smtp', 'password'))
def send_msg( mailsubject, messagefile, recipients = None ):
mailbody = load_file( conf.get_item('cron', 'mail_templates') + "/" + messagefile).read()
mailbody = load_file( conf.get_item('cron', 'mail_templates') + "/" + messagefile)
msg = MIMEMultipart("alternative")
msg["From"] = conf.get_item('cron', 'notification_email')