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 839b156..08bf08b 100644
--- a/redis/client.py
+++ b/redis/client.py
@@ -898,7 +898,7 @@ class StrictRedis(object):
``score_cast_func`` a callable used to cast the score return value
"""
if desc:
- return self.zrevrange(name, start, end, withscores)
+ return self.zrevrange(name, start, end, withscores, score_cast_func)
pieces = ['ZRANGE', name, start, end]
if withscores:
pieces.append('withscores')