Skip to content
Snippets Groups Projects
Commit e335c532 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

nicer code

parent bf72124b
No related branches found
No related tags found
No related merge requests found
......@@ -1391,7 +1391,7 @@ def __init__(self, account, room_jid, contact_jid, password = None, comment = No
label_text = '<big><b>%s</b></big>' % pritext
if comment is not None and comment != '': # only if not None and not ''
if comment: # only if not None and not ''
sectext = _('Comment: %s') % comment
label_text += '\n\n%s' % sectext
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment