diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index a62ee20c..19aab8d4 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -1955,7 +1955,7 @@ class Adherent(BaseProprietaire): # Il ne doit pas y avoir de compte self.supprimer_compte() self._set('mail', [new]) - + # on renvoie le mail de bienvenue self.services_to_restart('mail_bienvenue', [new.encode('iso-8859-15')]) diff --git a/gestion/whos.py b/gestion/whos.py index 1554160d..64b7b041 100755 --- a/gestion/whos.py +++ b/gestion/whos.py @@ -350,7 +350,7 @@ def adher_details(adher) : if adher.mail().find(u'@')!=-1 : f += coul(u'Adresse mail : ','gras') if adher.mail_invalide(): - f += coul(adher.mail(), "rouge") + f += coul(adher.mail(),'rouge') else: f += adher.mail() f += "\n"