Need to pass tuple to a method call
This commit is contained in:
parent
a06507d49c
commit
13c22f3b06
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user