From e9af147866766c14fdf25e7baf96409bcceeb620 Mon Sep 17 00:00:00 2001 From: Louis Date: Fri, 23 Jan 2015 14:21:09 +0100 Subject: [PATCH] Logging: better handling of newlines --- patacrep/build.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/patacrep/build.py b/patacrep/build.py index 212305ca..f804f154 100644 --- a/patacrep/build.py +++ b/patacrep/build.py @@ -200,7 +200,9 @@ class SongbookBuilder(object): stdin=PIPE, stdout=PIPE, stderr=PIPE, - env=os.environ) + env=os.environ, + universal_newlines=True, + ) except Exception as error: LOGGER.debug(error) raise errors.LatexCompilationError(self.basename)