diff options
Diffstat (limited to 'redis/connection.py')
-rwxr-xr-x | redis/connection.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redis/connection.py b/redis/connection.py index 9c659ac..b60a9fd 100755 --- a/redis/connection.py +++ b/redis/connection.py @@ -652,10 +652,10 @@ class Connection(object): self.disconnect() raise - def send_command(self, *args, check_health=True): + def send_command(self, *args, **kwargs): "Pack and send a command to the Redis server" self.send_packed_command(self.pack_command(*args), - check_health=check_health) + check_health=kwargs.get('check_health', True)) def can_read(self, timeout=0): "Poll the socket to see if there's data that can be read." |