unpaper: don't use universal_newlines=True

There's no specific reason to do this. We can log binary output equally
 well.
This commit is contained in:
James R. Barlow
2020-11-07 00:18:27 -08:00
parent b51abf2249
commit 5a59e4d543
-1
View File
@@ -83,7 +83,6 @@ def run(input_file, output_file, dpi, mode_args):
args_unpaper,
close_fds=True,
check=True,
universal_newlines=True,
stderr=STDOUT, # unpaper writes logging output to stdout and stderr
stdout=PIPE, # and cannot send file output to stdout
cwd=tmpdir,