Skip to content

Commit f95410b

Browse files
committed
Merge pull request #390 from hydrogen18/master
Fix issue 389
2 parents e9b327c + bc782da commit f95410b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def __init__(self, host='localhost', port=6379,
353353
'decode_responses': decode_responses,
354354
}
355355
# based on input, setup appropriate connection args
356-
if unix_socket_path:
356+
if unix_socket_path is not None:
357357
kwargs.update({
358358
'path': unix_socket_path,
359359
'connection_class': UnixDomainSocketConnection

0 commit comments

Comments
 (0)