diff options
Diffstat (limited to 'lib/hashserv/client.py')
-rw-r--r-- | lib/hashserv/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hashserv/client.py b/lib/hashserv/client.py index 7bbf0865d..0ffd0c2ae 100644 --- a/lib/hashserv/client.py +++ b/lib/hashserv/client.py @@ -213,7 +213,7 @@ class Client(object): cwd = os.getcwd() try: os.chdir(os.path.dirname(path)) - self.loop.run_until_complete(self.client.connect_unix(path)) + self.loop.run_until_complete(self.client.connect_unix(os.path.basename(path))) self.loop.run_until_complete(self.client.connect()) finally: os.chdir(cwd) |