Commit 4313910b authored by Mikhail Akushsky's avatar Mikhail Akushsky

Fix hmac creation in send_test_email function

parent 0afc8f94
......@@ -176,7 +176,7 @@ def send_raw_email(kindle_mail, msg):
mailserver.starttls()
if settings["mail_password"]:
mailserver.login(settings["mail_login"], settings["mail_password"])
mailserver.login(str(settings["mail_login"]), str(settings["mail_password"]))
mailserver.sendmail(settings["mail_from"], kindle_mail, msg)
mailserver.quit()
......
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