diff options
Diffstat (limited to 'redis/commands/json/commands.py')
-rw-r--r-- | redis/commands/json/commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redis/commands/json/commands.py b/redis/commands/json/commands.py index fb00e22..716741c 100644 --- a/redis/commands/json/commands.py +++ b/redis/commands/json/commands.py @@ -1,5 +1,5 @@ from .path import Path -from .helpers import decode_dict_keys +from .decoders import decode_dict_keys from deprecated import deprecated from redis.exceptions import DataError @@ -192,7 +192,7 @@ class JSONCommands: the key name, the path is determined to be the first. If a single option is passed, then the rootpath (i.e Path.rootPath()) is used. """ - pieces = [name, str(path), value] + pieces = [name, str(path), self._encode(value)] return self.execute_command( "JSON.STRAPPEND", *pieces ) |