Need to pass tuple to a method call

This commit is contained in:
Vincent Castellano 2015-05-28 11:46:33 -07:00
parent a06507d49c
commit 13c22f3b06

View File

@ -401,7 +401,7 @@ void py_on_loop () {
return; return;
} }
result = PyEval_CallObject(_py_on_loop, Py_None); result = PyEval_CallObject(_py_on_loop, Py_BuildValue("()"));
if(result == NULL) if(result == NULL)
PyErr_Print(); PyErr_Print();