Commit ff364789 authored by Julien Rabier's avatar Julien Rabier

fix another utf-8 issue in reminder.py

parent 6ea20518
......@@ -80,6 +80,6 @@ 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()
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