Don't crash when getting unknown events (fix #258)

This commit is contained in:
Guillaume Ayoub 2015-02-08 17:11:29 +01:00
parent 2c4b335fad
commit a7700f9805

View File

@ -414,7 +414,7 @@ class Application(object):
if item_name:
# Get collection item
item = collection.items[item_name]
item = collection.items.get(item_name)
if item:
items = [item]
if collection.resource_type == "calendar":