From 951424fcc88e1db07fdc230ed485340d8f9d5a1d Mon Sep 17 00:00:00 2001 From: feilong Date: Sat, 8 Jan 2022 14:15:08 +0800 Subject: [PATCH] fix bug --- .../4.with-as/withas.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/data/1.python\345\210\235\351\230\266/3.\350\277\233\351\230\266\350\257\255\346\263\225/4.with-as/withas.md" "b/data/1.python\345\210\235\351\230\266/3.\350\277\233\351\230\266\350\257\255\346\263\225/4.with-as/withas.md" index c91c7ff..4498f6d 100644 --- "a/data/1.python\345\210\235\351\230\266/3.\350\277\233\351\230\266\350\257\255\346\263\225/4.with-as/withas.md" +++ "b/data/1.python\345\210\235\351\230\266/3.\350\277\233\351\230\266\350\257\255\346\263\225/4.with-as/withas.md" @@ -93,5 +93,5 @@ def load_json(file): def dump_json(file, obj): with open(file, 'w') as f: - f.write(json.dumps(obj, ensure_ascii=False, indent=2)) + f.write(json.dumps(obj, 2, False)) ``` -- GitLab