Commit c3f0940d authored by Pauline Pommeret's avatar Pauline Pommeret

[ldap_crans] On retire un appel à unicode()

parent a40244de
......@@ -3069,7 +3069,7 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3)
def __host_alias(self, champ, new):
""" Vérification de la validité d'un nom de machine """
# Supression des accents
new = strip_accents(unicode(new, 'utf-8'))
new = strip_accents(decode(new))
l, new = preattr(new)
new = new.lower()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment