diff options
-rw-r--r-- | feeds.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -39,4 +39,5 @@ class IcalFeed(SyndicationFeed): for item in items: event = Event() for key, value in item.items(): - event.add(__ical_names[key], value) + if key in __ical_names: + event.add(__ical_names[key], value) |