aboutsummaryrefslogtreecommitdiff
path: root/feeds.py
diff options
context:
space:
mode:
Diffstat (limited to 'feeds.py')
-rw-r--r--feeds.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/feeds.py b/feeds.py
index 913e337..f3ccaf3 100644
--- a/feeds.py
+++ b/feeds.py
@@ -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)