nicer code
This commit is contained in:
parent
bf72124b6c
commit
e335c53247
|
@ -1391,7 +1391,7 @@ class InvitationReceivedDialog:
|
|||
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue