diff options
Diffstat (limited to 'testing/tools')
-rwxr-xr-x | testing/tools/fixup_pdf_template.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tools/fixup_pdf_template.py b/testing/tools/fixup_pdf_template.py index a43db55ee9..80a712f6e8 100755 --- a/testing/tools/fixup_pdf_template.py +++ b/testing/tools/fixup_pdf_template.py @@ -74,8 +74,8 @@ class TemplateProcessor: def expand_file(input_path, output_path): processor = TemplateProcessor() try: - with open(input_path, 'r') as infile: - with open(output_path, 'w') as outfile: + with open(input_path, 'rb') as infile: + with open(output_path, 'wb') as outfile: for line in infile: outfile.write(processor.process_line(line)) except IOError: |