Merge commit 'refs/merge-requests/6' of gitorious.org:radicale/radicale into merge-requests/6
This commit is contained in:
@@ -177,7 +177,12 @@ class CalendarHTTPHandler(server.BaseHTTPRequestHandler):
|
||||
attributes = posixpath.normpath(self.path.strip("/")).split("/")
|
||||
if len(attributes) >= 2:
|
||||
path = "%s/%s" % (attributes[0], attributes[1])
|
||||
return ical.Calendar(path)
|
||||
elif len(attributes) == 1: # no owner
|
||||
path = attributes[0]
|
||||
else:
|
||||
return
|
||||
|
||||
return ical.Calendar(path)
|
||||
|
||||
def _decode(self, text):
|
||||
"""Try to decode text according to various parameters."""
|
||||
|
||||
Reference in New Issue
Block a user