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):