webdav: fix unstrip_protocol

This commit is contained in:
Ruslan Kuprieiev
2021-12-07 23:59:12 +02:00
parent e8e1c76504
commit 064fbfd0d5
+1 -1
View File
@@ -41,7 +41,7 @@ class WebDAVFileSystem(FSSpecWrapper): # pylint:disable=abstract-method
return infer_storage_options(path)["path"].lstrip("/")
def unstrip_protocol(self, path: str) -> str:
return self.fs_args["base_url"] + path
return self.fs_args["base_url"] + "/" + path
@staticmethod
def _get_kwargs_from_urls(urlpath):