X-Git-Url: http://git.cyclocoop.org/?p=cavote.git;a=blobdiff_plain;f=reminder.py;h=56cf4bc29e6ac475bcb3405ec9dded657d4d1e9e;hp=6ebac88a20da19f13c6e087af74ec0902f96b488;hb=de9e465a93dde670ac6677f8b036e40d939cc84f;hpb=f4d357e37e0b186c35ff0958fdb0ffee5d17903e diff --git a/reminder.py b/reminder.py index 6ebac88..56cf4bc 100644 --- a/reminder.py +++ b/reminder.py @@ -42,6 +42,7 @@ for vote in c.execute('select id, id_group, date_end, title from votes where is_ "To: %s" % user[1], "Subject: [Cavote] %s" % gettext(u"Vote reminder - You didn't take part to it"), "Date: %s" % time.strftime("%a, %d %b %Y %H:%M:%S +0000", time.gmtime()).decode('utf-8'), + "Content-type: text/plain; charset=utf-8", "X-Mailer: %s" % VERSION, "", "%s %s : %s" % (gettext(u"A vote concerns you and is going to terminate on"), vote[2], vote[3]), @@ -64,6 +65,7 @@ for vote in c.execute('select id, id_group, date_end, title from votes where is_ "To: %s" % user[1], "Subject: [Cavote] %s" % gettext(u"Vote reminder - Last days to modify your choice"), "Date: %s" % time.strftime("%a, %d %b %Y %H:%M:%S +0000", time.gmtime()).decode('utf-8'), + "Content-type: text/plain; charset=utf-8", "X-Mailer: %s" % VERSION, "", "%s %s : %s" % (gettext(u"A vote concerns you and is going to terminate on "), vote[2], vote[3]),