summaryrefslogtreecommitdiff
path: root/redis/commands/json/decoders.py
diff options
context:
space:
mode:
authorChayim I. Kirshen <c@kirshen.com>2021-11-03 14:19:16 +0200
committerChayim I. Kirshen <c@kirshen.com>2021-11-03 14:19:16 +0200
commit70466b2e206b215f37246c9f59286c74464a5e4b (patch)
tree79606774e7b21bd7941a8efc15be27e3dfed7592 /redis/commands/json/decoders.py
parente18283aed05a47db20b9b091579ae1d5799226f4 (diff)
downloadredis-py-ck-json-multipath.tar.gz
tests against decoders directlyck-json-multipath
Diffstat (limited to 'redis/commands/json/decoders.py')
-rw-r--r--redis/commands/json/decoders.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/commands/json/decoders.py b/redis/commands/json/decoders.py
index ec71cee..b19395c 100644
--- a/redis/commands/json/decoders.py
+++ b/redis/commands/json/decoders.py
@@ -53,7 +53,7 @@ def decode_list(b):
if isinstance(b, list):
return [nativestr(obj) for obj in b]
elif isinstance(b, bytes):
- return nativestr(b)
+ return unstring(nativestr(b))
elif isinstance(b, str):
return unstring(b)
return b