diff options
Diffstat (limited to 'redis/sentinel.py')
-rw-r--r-- | redis/sentinel.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redis/sentinel.py b/redis/sentinel.py index 0479690..2f30062 100644 --- a/redis/sentinel.py +++ b/redis/sentinel.py @@ -50,9 +50,9 @@ class SentinelManagedConnection(Connection): continue raise SlaveNotFoundError # Never be here - def send_command(self, *args): + def read_response(self): try: - super(SentinelManagedConnection, self).send_command(*args) + return super(SentinelManagedConnection, self).read_response() except ReadOnlyError: if self.connection_pool.is_master: # When talking to a master, a ReadOnlyError when likely |