diff options
Diffstat (limited to 'redis/client.py')
-rw-r--r-- | redis/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redis/client.py b/redis/client.py index 893942a..74b1d64 100644 --- a/redis/client.py +++ b/redis/client.py @@ -692,14 +692,14 @@ class Redis(threading.local): return self.execute_command('WATCH', name) - def unwatch(self, name): + def unwatch(self): """ Unwatches the value at key ``name``, or None of the key doesn't exist """ if self.subscribed: raise RedisError("Can't call 'unwatch' from a pipeline'") - return self.execute_command('UNWATCH', name) + return self.execute_command('UNWATCH') #### LIST COMMANDS #### def blpop(self, keys, timeout=0): |