Encodage, pour quand les gens craquent

darcs-hash:20080902112309-ddb99-71e6779db5b7bd86ba8c6c2e8741da42f4224a42.gz
This commit is contained in:
Michel Blockelet 2008-09-02 13:23:09 +02:00
parent eab9fd8d9d
commit 778a51b516

View file

@ -110,6 +110,6 @@ Subject: %(Subject)s
self.mail_template % { 'From' : self.From, self.mail_template % { 'From' : self.From,
'To' : ','.join(self.To), 'To' : ','.join(self.To),
'Subject' : self.Subject, 'Subject' : self.Subject,
'Text' : texte.encode('iso8859-15') } ) 'Text' : texte.encode('iso8859-15', 'ignore') } )
conn.quit() conn.quit()
print OK print OK