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()
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: