summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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