Procházet zdrojové kódy

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

Guillaume Ayoub před 11 roky
rodič
revize
a7700f9805
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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":