1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-01 18:18:31 +00:00

Fix support of owner-less calendars

This commit is contained in:
Guillaume Ayoub 2011-04-25 20:12:37 +02:00
parent d061c09344
commit 39f7c7a96f
3 changed files with 13 additions and 8 deletions

View file

@ -144,6 +144,7 @@ class Calendar(object):
split_path = path.split("/")
self.owner = split_path[0] if len(split_path) > 1 else None
self.path = os.path.join(FOLDER, path.replace("/", os.path.sep))
self.local_path = path
@staticmethod
def _parse(text, item_types, name=None):