From 38c118b02db38b9864f5b5d01aad2bd0cc931437 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Thu, 29 Dec 2022 15:10:05 +0100 Subject: [PATCH] Fix output of tex2lyx messages in runtests.py --- src/tex2lyx/test/runtests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tex2lyx/test/runtests.py b/src/tex2lyx/test/runtests.py index 103c74e307..aae80c1426 100755 --- a/src/tex2lyx/test/runtests.py +++ b/src/tex2lyx/test/runtests.py @@ -108,8 +108,8 @@ def main(argv): proc.wait() err = proc.returncode errorstring = proc.stderr.read() - if not errorstring is None: - print(errorstring) + if errorstring: + print(errorstring.decode(sys.getfilesystemencoding())) if err != 0: errors.append(f) elif not overwrite: