[scripts] Going to utf-8
This commit is contained in:
parent
c4a19a88ed
commit
a1bf0a4547
54 changed files with 676 additions and 573 deletions
|
@ -72,7 +72,7 @@ par le script.
|
|||
s = smtplib.SMTP()
|
||||
s.connect('smtp.crans.org')
|
||||
for adherent in adherents:
|
||||
mail = adherent.mail().encode("iso-8859-15", "ignore")
|
||||
mail = adherent.mail().encode("utf-8", "ignore")
|
||||
if "@" not in mail:
|
||||
mail = mail + "@crans.org"
|
||||
cprint(u"Envoi du mail à %s <%s>..." % (adherent.Nom(), mail))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue