aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/source/pyext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/py/source/pyext.cpp')
-rw-r--r--externals/grill/py/source/pyext.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/externals/grill/py/source/pyext.cpp b/externals/grill/py/source/pyext.cpp
index 633d4007..91be31e0 100644
--- a/externals/grill/py/source/pyext.cpp
+++ b/externals/grill/py/source/pyext.cpp
@@ -259,6 +259,8 @@ bool pyext::DoInit()
}
Py_DECREF(init);
}
+ // __init__ has not been found - don't care
+ PyErr_Clear();
Py_DECREF(pargs);
return ok;