Skip to content

Commit

Permalink
FileInput no longer accept 'U' in the file mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bgruening authored Sep 16, 2023
1 parent 654ea3a commit a9f5400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/filters/convert_characters.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __main__():
from_ch += "+"

skipped = 0
with open(args[0], "rU") as fin:
with open(args[0]) as fin:
with open(args[2], "w") as fout:
for line in fin:
if options.strip:
Expand Down

0 comments on commit a9f5400

Please sign in to comment.