diff --git a/webdav/client.py b/webdav/client.py index a331928..63af9e0 100644 --- a/webdav/client.py +++ b/webdav/client.py @@ -870,7 +870,7 @@ def parse(response, path): def resource(self, remote_path): urn = Urn(remote_path) - return Resource(self, urn.path()) + return Resource(self, urn) def get_property(self, remote_path, option):