Fix last errors

This commit is contained in:
Stephan Porada committed 2020-02-12 14:25:08 +01:00
1 parent 1a3e4a0a02
commit 79043f3dd7
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ if args.check_encoding:
bytes = input_file.read()
encoding = chardet.detect(bytes)['encoding']
else:
encoding='utf-8'
encoding = 'utf-8'
# Read text from the input file and if neccessary split it into parts with a
# length of less than 1 million characters.
with open(args.i, encoding=encoding) as input_file: