nicer code

This commit is contained in:
Yann Leboulanger 2006-03-10 14:01:57 +00:00
parent bf72124b6c
commit e335c53247
1 changed files with 1 additions and 1 deletions

View File

@ -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