Fix undefined variable on errors in Cycles ctests.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2201
This commit is contained in:
Dmitry Dygalo 2016-09-10 22:55:28 +02:00 committed by Brecht Van Lommel
parent d8681c99c4
commit 9fc1cfc4f1

@ -38,11 +38,11 @@ def render_file(filepath):
elif b"blender probably wont start" in e.output:
return "NO_START"
return "CRASH"
except:
except BaseException as e:
if os.path.exists(TEMP_FILE):
os.remove(TEMP_FILE)
if VERBOSE:
print(e.output.decode("utf-8"))
print(e)
return "CRASH"