aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/python/python.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/python.cpp b/lib/python/python.cpp
index 4ca77ab2..b5ae4864 100644
--- a/lib/python/python.cpp
+++ b/lib/python/python.cpp
@@ -6,6 +6,7 @@
#include <Python.h>
extern "C" void init_enigma();
+extern void bsodFatal();
DEFINE_REF(TestObj);
@@ -129,6 +130,7 @@ int ePython::call(PyObject *pFunc, PyObject *pArgs)
} else
{
PyErr_Print();
+ bsodFatal();
}
}
return res;