From 6e49c289301658393a2d8dd8469d567362991ffe Mon Sep 17 00:00:00 2001 From: AliBsk Date: Mon, 13 Nov 2023 10:31:51 +0300 Subject: [PATCH] fix test --- py4web/server_adapters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py4web/server_adapters.py b/py4web/server_adapters.py index 7101f5169..989eb4e86 100644 --- a/py4web/server_adapters.py +++ b/py4web/server_adapters.py @@ -181,7 +181,7 @@ def check_kv(kx, vx): ) if kx and vx and kx not in bad_keys: if vx.startswith("{") and vx.endswith("}"): - vt = re.sub("\,\s*\}", "}", vx) + vt = re.sub(",\s*\}", "}", vx) vx = json.loads(vt.replace("'", '"')) if vx == "None": vx = None