Cut line
This commit is contained in:
parent
3bd5b8f0fc
commit
066dffd614
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user