fix formatting text profile with new photos dict
This commit is contained in:
parent
90292c19f8
commit
d4c320528f
1 changed files with 1 additions and 1 deletions
|
|
@ -419,7 +419,7 @@ class ProfilePage(PageBase):
|
||||||
if self.photos:
|
if self.photos:
|
||||||
body += u'\nPhotos:'
|
body += u'\nPhotos:'
|
||||||
for photo in self.photos:
|
for photo in self.photos:
|
||||||
body += u'\n\t\t%s' % unicode(photo)
|
body += u'\n\t\t%s%s' % (unicode(photo['url']), (' (hidden)' if photo['hidden'] else ''))
|
||||||
body += u'\nStats:'
|
body += u'\nStats:'
|
||||||
for label, value in self.get_stats().iteritems():
|
for label, value in self.get_stats().iteritems():
|
||||||
body += u'\n\t\t%-15s %s' % (label + ':', value)
|
body += u'\n\t\t%-15s %s' % (label + ':', value)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue