]> git.lyx.org Git - features.git/commitdiff
Fix output of tex2lyx messages in runtests.py
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 29 Dec 2022 14:10:05 +0000 (15:10 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Thu, 29 Dec 2022 14:10:05 +0000 (15:10 +0100)
src/tex2lyx/test/runtests.py

index 103c74e307ea1efd9c42167a298f5bb694d30e7d..aae80c14261fccf9eeec151f616c8c22a83db1e1 100755 (executable)
@@ -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: