From bb75341c49487560b2a2ba4ee86774fbd5bac366 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sat, 27 May 2023 12:49:15 +0800 Subject: [PATCH] fix a bug --- src/pocketpy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketpy.h b/src/pocketpy.h index c85267d5..d91199df 100644 --- a/src/pocketpy.h +++ b/src/pocketpy.h @@ -979,7 +979,7 @@ inline void init_builtins(VM* _vm) { for(auto& item : self.items()){ if(!first) ss << ", "; first = false; - Str key = CAST(Str&, item.first).escape(); + Str key = CAST(Str&, item.first).escape(false); Str value = CAST(Str&, vm->py_json(item.second)); ss << key << ": " << value; }