summaryrefslogtreecommitdiffstats
path: root/wallace
diff options
context:
space:
mode:
Diffstat (limited to 'wallace')
-rw-r--r--wallace/module_invitationpolicy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/wallace/module_invitationpolicy.py b/wallace/module_invitationpolicy.py
index 9a87ca5..6aee7b0 100644
--- a/wallace/module_invitationpolicy.py
+++ b/wallace/module_invitationpolicy.py
@@ -1178,6 +1178,7 @@ def send_update_notification(object, receiving_user, old=None, reply=True, sende
orgname = organizer.name()
itip_comment = None
+ comment = comment.strip()
if sender is not None and not comment == '':
itip_comment = _("%s commented: %s") % (_attendee_name(sender), comment)
@@ -1331,6 +1332,7 @@ def send_cancel_notification(object, receiving_user, deleted=False, sender=None,
else:
message_text += " " + _("The copy in your calendar has been marked as cancelled accordingly.")
+ comment = comment.strip()
if sender is not None and not comment == '':
message_text += "\n" + _("%s commented: %s") % (_attendee_name(sender), comment)