Fix for path extraction or webdav client cant find path to sync
This commit is contained in:
parent
743f8b96bb
commit
844ec3bf9c
1 changed files with 3 additions and 1 deletions
|
@ -966,7 +966,9 @@ class WebDavXmlUtils:
|
||||||
urn = unquote(href)
|
urn = unquote(href)
|
||||||
|
|
||||||
if path[-1] == Urn.separate:
|
if path[-1] == Urn.separate:
|
||||||
if not path == urn:
|
# remove / from path to compare with urn
|
||||||
|
# e.g. /path = /path
|
||||||
|
if not path[:-1] == urn:
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
path_with_sep = "{path}{sep}".format(path=path, sep=Urn.separate)
|
path_with_sep = "{path}{sep}".format(path=path, sep=Urn.separate)
|
||||||
|
|
Loading…
Add table
Reference in a new issue