summaryrefslogtreecommitdiffstats
path: root/pykolab/itip/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/itip/__init__.py')
-rw-r--r--pykolab/itip/__init__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pykolab/itip/__init__.py b/pykolab/itip/__init__.py
index 925fede..6258dfb 100644
--- a/pykolab/itip/__init__.py
+++ b/pykolab/itip/__init__.py
@@ -106,10 +106,11 @@ def objects_from_message(message, objnames, methods=None):
itip['duration'] = c['duration'].dt
itip['end'] = itip['start'] + c['duration'].dt
- if (c.has_key('organizer')):
+ # Outlook can send itip replies with no organizer property
+ if c.has_key('organizer'):
itip['organizer'] = c['organizer']
- if (c.has_key('attendee')):
+ if c.has_key('attendee'):
itip['attendees'] = c['attendee']
if itip.has_key('attendees') and not isinstance(itip['attendees'], list):