summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2013-10-21 11:24:25 -0700
committerAndy McCurdy <andy@andymccurdy.com>2013-10-21 11:24:25 -0700
commitf95410bf667653983b9effe49303b97e8719925a (patch)
treeb1da155c9b256660984c1eff4d69b4f001c68a1d
parente9b327cd8aeb4efadd3d2dc49795a15270957dbd (diff)
parentbc782da7be1856faacfe30df9c8e6c737e0d2dc1 (diff)
downloadredis-py-f95410bf667653983b9effe49303b97e8719925a.tar.gz
Merge pull request #390 from hydrogen18/master
Fix issue 389
-rw-r--r--redis/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/client.py b/redis/client.py
index a97bac1..70c2acf 100644
--- a/redis/client.py
+++ b/redis/client.py
@@ -353,7 +353,7 @@ class StrictRedis(object):
'decode_responses': decode_responses,
}
# based on input, setup appropriate connection args
- if unix_socket_path:
+ if unix_socket_path is not None:
kwargs.update({
'path': unix_socket_path,
'connection_class': UnixDomainSocketConnection