refac: webdav files prefixing issue

This commit is contained in:
Jörn-Michael Miehe 2023-10-22 12:49:34 +02:00
parent 3d8cdca5cd
commit 2ca6377634

View file

@ -59,7 +59,7 @@ class WebDAV:
_logger.debug(f"list_files {directory!r}")
ls = await asyncify(cls._webdav_client.list)(directory)
return [f"{directory}/{path}" for path in ls if regex.search(path)]
return [path for path in ls if regex.search(path)]
@classmethod
@AsyncTTL(