FileInput no longer accept 'U' in the file mode

This commit is contained in:
Björn Grüning
2023-09-16 18:33:07 +02:00
committed by GitHub
parent 654ea3a37d
commit a9f5400eae
+1 -1
View File
@@ -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: