diff --git a/attributs.py b/attributs.py index 4bd5aaa..8c48623 100644 --- a/attributs.py +++ b/attributs.py @@ -416,7 +416,7 @@ class responsable(Attr): legend = u"Responsable du club" def parse_value(self, resp, ldif): - self.value = self.conn.search('aid=%d' % self.value)[0] + self.value = self.conn.search('aid=%s' % resp)[0] def __unicode__(self): return self.value.attrs['aid'][0]