diff --git a/platypush/plugins/calendar/__init__.py b/platypush/plugins/calendar/__init__.py index ad226f27..a5e9f4cf 100644 --- a/platypush/plugins/calendar/__init__.py +++ b/platypush/plugins/calendar/__init__.py @@ -107,7 +107,8 @@ class CalendarPlugin(Plugin, CalendarInterface): events = [] for calendar in self.calendars: - events.extend(calendar.get_upcoming_events().output) + cal_events = calendar.get_upcoming_events().output or [] + events.extend(cal_events) events = sorted(events, key=lambda event: dateutil.parser.parse(