forked from bartvdbraak/blender
Fix render test Python error on crashes
This commit is contained in:
parent
b2608af702
commit
dc216c89e0
@ -431,6 +431,7 @@ class Report:
|
||||
|
||||
# Run process
|
||||
crash = False
|
||||
output = None
|
||||
try:
|
||||
output = subprocess.check_output(command)
|
||||
except subprocess.CalledProcessError as e:
|
||||
@ -440,7 +441,8 @@ class Report:
|
||||
|
||||
if verbose:
|
||||
print(" ".join(command))
|
||||
print(output.decode("utf-8"))
|
||||
if output:
|
||||
print(output.decode("utf-8"))
|
||||
|
||||
# Detect missing filepaths and consider those errors
|
||||
for filepath, output_filepath in zip(remaining_filepaths[:], output_filepaths):
|
||||
|
Loading…
Reference in New Issue
Block a user