From d872aa6ee0cb0d570b5822c9fd1b9373b9cce386 Mon Sep 17 00:00:00 2001 From: Jonhen Date: Tue, 7 Jan 2020 20:12:32 +0700 Subject: [PATCH] Update client.py In the resource method of the Client class, the Resource class is not created correctly. --- webdav/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):