[gen_confs/adherents.py, admin/controle_chartes_MA.py] unicode.encode('utf-8') pour sendmail
Ignore-this: 85f59da0e5f702c8ae08d06f8e52099 darcs-hash:20090930153704-ffbb2-759bc41d3f7a1724bc88a82540ae75165ffe375d.gz
This commit is contained in:
parent
c043c71cad
commit
4c06da4096
2 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,7 @@ def spammer():
|
|||
to = adh.email()
|
||||
print to
|
||||
if not debug:
|
||||
data = config.txt_charte_MA % {'From' : u"ca@crans.org", 'To' : to}
|
||||
data = config.txt_charte_MA.encode('utf-8') % {'From' : u"ca@crans.org", 'To' : to}
|
||||
connexion.sendmail("ca@crans.org",to,data.encode('iso-8859-15'))
|
||||
|
||||
def __usage(message=None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue