From d4c320528fc9c79a0ca429e69c74c3ec809763f7 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Sun, 21 Nov 2010 10:49:54 +0100 Subject: [PATCH] fix formatting text profile with new photos dict --- weboob/backends/aum/pages/profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/backends/aum/pages/profile.py b/weboob/backends/aum/pages/profile.py index 666fc3c4..1c4a3eb2 100644 --- a/weboob/backends/aum/pages/profile.py +++ b/weboob/backends/aum/pages/profile.py @@ -419,7 +419,7 @@ class ProfilePage(PageBase): if self.photos: body += u'\nPhotos:' 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:' for label, value in self.get_stats().iteritems(): body += u'\n\t\t%-15s %s' % (label + ':', value)