瀏覽代碼

use correct module

Unrud 7 年之前
父節點
當前提交
73338ac20b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      radicale/app/put.py

+ 1 - 1
radicale/app/put.py

@@ -69,7 +69,7 @@ class ApplicationPutMixin:
                     not permissions and parent_permissions):
                 write_whole_collection = False
                 if tag is None:
-                    tag = storage.predict_tag_of_parent_collection(
+                    tag = radicale_item.predict_tag_of_parent_collection(
                         vobject_items)
                 collection_path = posixpath.dirname(
                     pathutils.strip_path(path))