feat: added saving to result-no-indent.json

This commit is contained in:
2025-09-17 17:38:31 +03:00
parent cbb9d46b83
commit 31c363380a
2 changed files with 5 additions and 2 deletions

2
.gitignore vendored
View File

@@ -2,5 +2,5 @@
*.xlsx
__pycache__
.idea
result.json
result*.json
groups.json

View File

@@ -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)