diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index e72df76c..f4782d4d 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -3249,7 +3249,7 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3) rid = int(self.rid()) rid_obj = ridtools.Rid(rid) if rid_obj.ipv4_dispo: - ip = rid_obj.ipv4() + ip = unicode(rid_obj.ipv4()) else: ip = '' #On essaye d'attribuer un rid si ip auto et pas encore de rid