Skip to content

Commit

Permalink
script: Fix json format
Browse files Browse the repository at this point in the history
  • Loading branch information
dtcxzyw committed Sep 18, 2024
1 parent 00adc98 commit b231250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gen_optimized.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,6 @@ def run_opt(task):
for k,v in comptime_res:
f.write(f'{k} {v}\n')
with open(comptime+'.stats', 'w') as f:
json.dump(stats_acc, f)
json.dump(stats_acc, f, indent = 2)

exit(1 if fail else 0)

0 comments on commit b231250

Please sign in to comment.