فهرست منبع

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

Guillaume Ayoub 11 سال پیش
والد
کامیت
a7700f9805
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      radicale/__init__.py

+ 1 - 1
radicale/__init__.py

@@ -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":