Skip to content

Commit

Permalink
Merge pull request scipy-conference#409 from ksunden/dev
Browse files Browse the repository at this point in the history
Add decode to build_paper output to make it format better
  • Loading branch information
deniederhut authored Oct 4, 2018
2 parents 063e7c4 + 58cee50 commit fa226d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions publisher/build_paper.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ def tex2pdf_singlepass(out_path):
if b"Fatal" in out or run.returncode:
print("PDFLaTeX error output:")
print("=" * 80)
print(out)
print(out.decode('utf-8'))
print("=" * 80)
if err:
print(err)
print(err.decode('utf-8'))
print("=" * 80)

# Errors, exit early
Expand Down

0 comments on commit fa226d2

Please sign in to comment.