show if a photo is hidden or not
This commit is contained in:
parent
9bace7736c
commit
836c4b4f10
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ class ProfileFormatter(IFormatter):
|
||||||
result += u'Status: %s (%s)\n' % (s, item['status_msg'])
|
result += u'Status: %s (%s)\n' % (s, item['status_msg'])
|
||||||
result += u'Photos:\n'
|
result += u'Photos:\n'
|
||||||
for name, photo in item['photos'].iteritems():
|
for name, photo in item['photos'].iteritems():
|
||||||
result += u'\t%s\n' % photo
|
result += u'\t%s%s\n' % (photo, ' (hidden)' if photo.hidden else '')
|
||||||
result += u'Profile:\n'
|
result += u'Profile:\n'
|
||||||
for head in item['profile']:
|
for head in item['profile']:
|
||||||
result += self.print_node(head)
|
result += self.print_node(head)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue