From 2bc2d6668661dcdd1c3ff5795f505a0e492f8bc2 Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Mon, 1 Nov 2021 17:52:32 +0200 Subject: Improvements to JSON coverage tests to validate json behaviour deprecation support api changes --- redis/commands/helpers.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'redis/commands/helpers.py') diff --git a/redis/commands/helpers.py b/redis/commands/helpers.py index a92c025..48ee556 100644 --- a/redis/commands/helpers.py +++ b/redis/commands/helpers.py @@ -22,6 +22,8 @@ def nativestr(x): def delist(x): """Given a list of binaries, return the stringified version.""" + if x is None: + return x return [nativestr(obj) for obj in x] -- cgit v1.2.1