From f641c8f627986431f1fe8c18abd56281005d9636 Mon Sep 17 00:00:00 2001 From: chaopower Date: Wed, 2 Aug 2023 10:26:24 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/parsexlsx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/parsexlsx.py b/tools/parsexlsx.py index c612951..f076811 100644 --- a/tools/parsexlsx.py +++ b/tools/parsexlsx.py @@ -374,8 +374,8 @@ def run(path): parse = Parse(read(path)) res = parse.collect() resjson = json.dumps(res, indent=4, ensure_ascii=False) - # with open('t.json', 'w') as f: - # f.write(resjson) + with open('t.json', 'w') as f: + f.write(resjson) return resjson