aboutsummaryrefslogtreecommitdiff
path: root/lib/python/python.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-04-03 21:02:31 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-04-03 21:02:31 +0000
commit0b93abf527c246663351f518fea47e28cc4eabc7 (patch)
tree35906c94150d1245ce4144f98d07ae476de8e24e /lib/python/python.cpp
parente51726bcb1904bf8422b62798bd9f0cd2efb53ad (diff)
downloadenigma2-0b93abf527c246663351f518fea47e28cc4eabc7.tar.gz
enigma2-0b93abf527c246663351f518fea47e28cc4eabc7.zip
display bsod on exception
Diffstat (limited to 'lib/python/python.cpp')
-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;