diff --git a/gestion/ridtools.py b/gestion/ridtools.py index ab7eaee6..32780806 100644 --- a/gestion/ridtools.py +++ b/gestion/ridtools.py @@ -57,7 +57,7 @@ class Rid(object): """Peuple les champs de l'instance par rapport au rid""" self.rid = rid - self.type = find_rid_plage(int(rid)) + self.type, _ = find_rid_plage(int(rid)) if self.type == 'Inconnu': raise ValueError("rid inconnu : %d" % rid)