Commit 4bbbee93 authored by Romain Bignon's avatar Romain Bignon

display ContactPhoto url as string

parent f3d88567
......@@ -44,6 +44,9 @@ class ContactPhoto(object):
def __iscomplete__(self):
return ( and (not self.thumbnail_url or self.thumbnail_data))
def __str__(self):
return self.url
def __repr__(self):
return u'<ContactPhoto "%s" data=%do tndata=%do>' % (, len(, len(self.thumbnail_data))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment