From 81100ec08d8da29bcef803913eca8957c547bb48 Mon Sep 17 00:00:00 2001 From: pengtao Date: Mon, 9 Sep 2019 20:49:58 +0800 Subject: [PATCH] fix bug --- handler/priv_map.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/priv_map.py b/handler/priv_map.py index a5b9554..54f1795 100644 --- a/handler/priv_map.py +++ b/handler/priv_map.py @@ -89,7 +89,7 @@ class PrivMaps(Resource): def post(self): # log.info(f"args={self.args}") pdb.set_trace() - myargs = json.loads(my_unquote(self.args['args'])) + myargs = json.loads(my_unquote(self.args['args']).replace("'",'"')) log.info(f"2={myargs}") try: