mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Fix the owner attriubtion for 1+ depth URLs
This commit is contained in:
parent
6bbf3f624f
commit
8f488eb6bc
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ class Calendar(object):
|
||||||
self.owner = split_path[0]
|
self.owner = split_path[0]
|
||||||
elif len(split_path) > 1:
|
elif len(split_path) > 1:
|
||||||
# URL with at least one folder
|
# URL with at least one folder
|
||||||
self.owner = split_path[-1]
|
self.owner = split_path[0]
|
||||||
else:
|
else:
|
||||||
self.owner = None
|
self.owner = None
|
||||||
self.local_path = path if path != '.' else ''
|
self.local_path = path if path != '.' else ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue