diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index e9801715..3bbb7b1f 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -854,8 +854,8 @@ class base_classes_crans(crans_ldap) : if 'droits' in self.modifs: anciens_droits = self._init_data.get('droits',[]) nouveaux_droits = self._data.get('droits',[]) - droits_ajoutes = ''.join( [ '+%s' % d for d in nouveaux_droits if d not in anciens_droits ] ) - droits_enleves = ''.join( [ '-%s' % d for d in anciens_droits if d not in nouveaux_droits ] ) + droits_ajoutes = ''.join( [ '+%s' % decode(d) for d in nouveaux_droits if d not in anciens_droits ] ) + droits_enleves = ''.join( [ '-%s' % decode(d) for d in anciens_droits if d not in nouveaux_droits ] ) modif = modif.replace("droits", "droits : " + droits_ajoutes + droits_enleves ) timestamp = localtime()