Merge branch 'master' of github.com:Kozea/radicale

This commit is contained in:
Guillaume Ayoub 2016-04-20 07:50:58 +09:00
commit ecf53c5e1e

View File

@ -565,7 +565,7 @@ def report(path, xml_request, collection):
# TODO: fix this
if hreference.split("/")[-1] == item.href:
# Happening when depth is 0
uri = "/" + hreference
uri = hreference
else:
# Happening when depth is 1
uri = posixpath.join(hreference, item.href)