1
0
Эх сурвалжийг харах

Fix the owner attriubtion for 1+ depth URLs

Guillaume Ayoub 14 жил өмнө
parent
commit
8f488eb6bc
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      radicale/ical.py

+ 1 - 1
radicale/ical.py

@@ -177,7 +177,7 @@ class Calendar(object):
             self.owner = split_path[0]
         elif len(split_path) > 1:
             # URL with at least one folder
-            self.owner = split_path[-1]
+            self.owner = split_path[0]
         else:
             self.owner = None
         self.local_path = path if path != '.' else ''