enhancement of load detection of fields

This commit is contained in:
Romain Bignon 2010-08-14 21:50:31 +02:00
commit b354f8d3a7
4 changed files with 35 additions and 13 deletions

View file

@ -33,9 +33,10 @@ class ProfileNode(object):
self.sufix = sufix
self.flags = flags
class ContactPhoto(object):
class ContactPhoto(CapBaseObject):
def __init__(self, name):
self.name = name
CapBaseObject.__init__(self, name)
self.name = name #useless, but keep compatibility
self.url = u''
self.data = ''
self.thumbnail_url = u''