mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-25 19:30:54 +00:00
Add support for the Caldav-Sync Android client
This commit is contained in:
parent
3356d3235f
commit
380acebd71
2 changed files with 14 additions and 3 deletions
|
@ -171,7 +171,10 @@ class Calendar(object):
|
|||
"""
|
||||
self.encoding = "utf-8"
|
||||
split_path = path.split("/")
|
||||
self.owner = split_path[0] if len(split_path) > 1 else None
|
||||
if (principal and split_path) or len(split_path) > 1:
|
||||
self.owner = split_path[0]
|
||||
else:
|
||||
self.owner = None
|
||||
self.path = os.path.join(FOLDER, path.replace("/", os.sep))
|
||||
self.local_path = path if path != '.' else ''
|
||||
self.is_principal = principal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue