Fix output of tex2lyx messages in runtests.py

This commit is contained in:
Juergen Spitzmueller 2022-12-29 15:10:05 +01:00
parent a5115d4e4a
commit 38c118b02d

View File

@ -108,8 +108,8 @@ def main(argv):
proc.wait() proc.wait()
err = proc.returncode err = proc.returncode
errorstring = proc.stderr.read() errorstring = proc.stderr.read()
if not errorstring is None: if errorstring:
print(errorstring) print(errorstring.decode(sys.getfilesystemencoding()))
if err != 0: if err != 0:
errors.append(f) errors.append(f)
elif not overwrite: elif not overwrite: