Skip to content

Commit

Permalink
Don't crash when getting unknown events (fix Kozea#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
liZe committed Feb 8, 2015
1 parent 2c4b335 commit a7700f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radicale/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def get(self, environ, read_collections, write_collections, content, user):

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":
Expand Down

0 comments on commit a7700f9

Please sign in to comment.