Commit 7e3cecbe authored by Tobias Rueetschi's avatar Tobias Rueetschi Committed by Tobias Rueetschi

fix syntax error in ui.py

parent eaa41668
......@@ -711,7 +711,7 @@ expects an EmailFactory email, but will not mail if nomail is set"""
except smtplib.SMTPException as e:
logger.warning(_('failed to send email: %s'), e)
else:
logger.warning(_('sent message through SMTP server %s to %s'), (self.options.smtpserver, msg.mailto))
logger.warning(_('sent message through SMTP server %s to %s') % (self.options.smtpserver, msg.mailto))
server.quit()
return True
elif not self.options.nomail:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment