From 4313910ba08611a899f6bded3a072b0df20f2785 Mon Sep 17 00:00:00 2001 From: Mikhail Akushsky Date: Sat, 29 Jul 2017 18:06:16 +0300 Subject: [PATCH] Fix hmac creation in send_test_email function --- cps/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/helper.py b/cps/helper.py index d90e15dc..e513ad8b 100755 --- a/cps/helper.py +++ b/cps/helper.py @@ -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()