From 836c4b4f10e9d55c90a10c94a9c9741285f6adba Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Tue, 27 Sep 2011 11:34:47 +0200 Subject: [PATCH] show if a photo is hidden or not --- weboob/applications/havesex/havesex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/applications/havesex/havesex.py b/weboob/applications/havesex/havesex.py index 8f4f3a05..29140912 100644 --- a/weboob/applications/havesex/havesex.py +++ b/weboob/applications/havesex/havesex.py @@ -61,7 +61,7 @@ class ProfileFormatter(IFormatter): result += u'Status: %s (%s)\n' % (s, item['status_msg']) result += u'Photos:\n' 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' for head in item['profile']: result += self.print_node(head)