瀏覽代碼

3rd catch

Peter Bieringer 9 年之前
父節點
當前提交
e6ba31937a
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      radicale/__init__.py

+ 2 - 0
radicale/__init__.py

@@ -244,6 +244,8 @@ class Application:
         read_allowed_items = []
         write_allowed_items = []
         for item in items:
+            if not item:
+                continue
             if isinstance(item, self.Collection):
                 path = item.path
             else: