Unrud преди 8 години
родител
ревизия
5a0d4f7f2f
променени са 1 файла, в които са добавени 0 реда и са изтрити 3 реда
  1. 0 3
      radicale/storage.py

+ 0 - 3
radicale/storage.py

@@ -690,9 +690,6 @@ class Collection(BaseCollection):
 
         # Path should already be sanitized
         sane_path = sanitize_path(href).strip("/")
-        attributes = sane_path.split("/")
-        if not attributes[0]:
-            attributes.pop()
         filesystem_path = path_to_filesystem(folder, sane_path)
 
         if not props: