فهرست منبع

Fix collection creation with PUT request

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

+ 2 - 1
radicale/__init__.py

@@ -579,7 +579,8 @@ class Application:
                 if item:
                     # Delete old collection
                     item.delete()
-                new_item = self.Collection.create_collection(path, items, tag)
+                new_item = self.Collection.create_collection(
+                    path, items, {"tag": tag})
             else:
                 if tag:
                     parent_item.set_meta({"tag": tag})