Commit 05754345 authored by Julien Rabier's avatar Julien Rabier

fix another utf-8 (and maybe last) issue in reminder.py

parent ff364789
......@@ -56,7 +56,7 @@ for vote in c.execute('select id, id_group, date_end, title from votes where is_
server = smtplib.SMTP(SMTP_SERVER)
print EMAIL
print user[1]
print BODY
print BODY.encode('utf-8')
server.sendmail(EMAIL, user[1], BODY.encode('utf-8'))
server.quit()
else:
......
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