This commit is contained in:
Guillaume Ayoub 2014-03-04 01:08:56 +01:00
parent 3bd5b8f0fc
commit 066dffd614

View File

@ -282,8 +282,8 @@ class Application(object):
is_valid_user = is_authenticated or not user is_valid_user = is_authenticated or not user
if is_valid_user: if is_valid_user:
items = ical.Collection.from_path(path, items = ical.Collection.from_path(
environ.get("HTTP_DEPTH", "0")) path, environ.get("HTTP_DEPTH", "0"))
read_allowed_items, write_allowed_items = \ read_allowed_items, write_allowed_items = \
self.collect_allowed_items(items, user) self.collect_allowed_items(items, user)
else: else: