iCal bootstrapping using a default URL works

This commit is contained in:
Lukasz Langa
2011-06-01 22:33:18 +02:00
parent 1510e6c194
commit f7868afed1
3 changed files with 12 additions and 6 deletions

View File

@ -162,7 +162,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.sep))
self.local_path = path
self.local_path = path if path != '.' else ''
self.is_principal = principal
@classmethod