diff --git a/src/dialogs.py b/src/dialogs.py index ad8224285..c921535e4 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -1391,7 +1391,7 @@ class InvitationReceivedDialog: label_text = '%s' % 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