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: