From 31c363380a983c966db7335a33e66c19b57bab97 Mon Sep 17 00:00:00 2001 From: FazziCLAY Date: Wed, 17 Sep 2025 17:38:31 +0300 Subject: [PATCH] feat: added saving to result-no-indent.json --- .gitignore | 2 +- main.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9d8677a..99010fe 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,5 @@ *.xlsx __pycache__ .idea -result.json +result*.json groups.json diff --git a/main.py b/main.py index a7f0487..41082fb 100644 --- a/main.py +++ b/main.py @@ -194,7 +194,10 @@ def main(): result['stat']['total_parsing_time'] = t.step() json.dump(result, open('result.json', 'w'), indent=2, ensure_ascii=False) - print("Saved to result.json") + print("Saved to result.json indent=2") + + json.dump(result, open('result-no-indent.json', 'w'), ensure_ascii=False) + print("Saved to result-no-indent.json") print("Faileds:") print(faileds)