Skip to content
Snippets Groups Projects
Commit fbf608de authored by David Baker's avatar David Baker
Browse files

Oops, we're using the dict form

parent 06d40c8b
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,9 @@ class Mailer(object):
multipart_msg = MIMEMultipart('alternative')
multipart_msg['Subject'] = "[%s] %s" % (self.app_name, summary_text)
multipart_msg['From'] = self.hs.config.email_notif_from % (self.app_name, )
multipart_msg['From'] = self.hs.config.email_notif_from % {
"app": self.app_name
}
multipart_msg['To'] = email_address
multipart_msg['Date'] = email.utils.formatdate()
multipart_msg['Message-ID'] = email.utils.make_msgid()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment