diff --git a/attributs.py b/attributs.py index d25b22d..50fe3e5 100644 --- a/attributs.py +++ b/attributs.py @@ -990,6 +990,7 @@ class responsable(Attr): category = 'perso' can_modify = [cableur, nounou] ldap_name = "responsable" + python_type = int # en vrai, c'est l'aid du responsable def nonefunction(self, resp): """ @@ -1020,7 +1021,7 @@ class responsable(Attr): value = property(get_respo, nonefunction) def __unicode__(self): - return self.__value + return unicode(self.__value) @crans_attribute class imprimeurClub(Attr):