all repos — openbox @ dbf58ef2b61fe46f15a697ad151ee868c2461f6f

openbox fork - make it a bit more like ryudo

check for python errors a little better i think..
Dana Jansens danakj@orodu.net
commit

dbf58ef2b61fe46f15a697ad151ee868c2461f6f

parent

93811226bb5207731da736ab706f150fe915466a

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/python.ccsrc/python.cc

@@ -413,7 +413,7 @@ arglist = Py_BuildValue("(O)", data);

// call the callback result = PyEval_CallObject(func, arglist); - if (!result) { + if (!result || PyErr_Occurred()) { // an exception occured in the script, display it PyErr_Print(); }