Skip to content

Commit

Permalink
flush each output line
Browse files Browse the repository at this point in the history
  • Loading branch information
Phaqui committed Feb 23, 2024
1 parent bbd14b4 commit 994a107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/correct_typos.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def main():
line = line.strip()
if not line:
continue
print(corrections.get(line, line))
print(corrections.get(line, line), flush=True)


if __name__ == "__main__":
Expand Down

0 comments on commit 994a107

Please sign in to comment.