remove unnecessary brackets
This commit is contained in:
parent
f1a43f1101
commit
3dd50f363d
11 changed files with 13 additions and 12 deletions
|
|
@ -433,7 +433,7 @@ class ProfilePage(PageBase):
|
|||
for key, value in d.items():
|
||||
key = '%s:' % key
|
||||
if isinstance(value, list):
|
||||
body += u'\t\t%-15s %s\n' % (key, u', '.join([unicode(s) for s in value]))
|
||||
body += u'\t\t%-15s %s\n' % (key, u', '.join(unicode(s) for s in value))
|
||||
elif isinstance(value, float):
|
||||
body += u'\t\t%-15s %.2f\n' % (key, value)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue