summaryrefslogtreecommitdiff
path: root/redis/asyncio/client.py
diff options
context:
space:
mode:
authorMason <2600910+nosammai@users.noreply.github.com>2022-04-04 03:16:18 -0700
committerGitHub <noreply@github.com>2022-04-04 13:16:18 +0300
commit51a4dd91f05fe003ba0edacfcc6e6cebe2064e38 (patch)
tree22cc9d36bc83254b9734f050383cb63e7f720e15 /redis/asyncio/client.py
parent143107af05fec7d140a317230becc2b3d353335a (diff)
downloadredis-py-51a4dd91f05fe003ba0edacfcc6e6cebe2064e38.tar.gz
Fix disable decode for dump command on asyncio (#2070)
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
Diffstat (limited to 'redis/asyncio/client.py')
-rw-r--r--redis/asyncio/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/asyncio/client.py b/redis/asyncio/client.py
index bbf2a67..368607b 100644
--- a/redis/asyncio/client.py
+++ b/redis/asyncio/client.py
@@ -485,7 +485,7 @@ class Redis(
"""Parses a response from the Redis server"""
try:
if NEVER_DECODE in options:
- response = await connection.read_response(disable_encoding=True)
+ response = await connection.read_response(disable_decoding=True)
else:
response = await connection.read_response()
except ResponseError: