Skip to content

Commit df531e0

Browse files
committed
Do not use PyObject_CallNoArgs as is not in python 3.8
1 parent 4aecd37 commit df531e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bzfs/bzfsPython.cxx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ void bzPythonEvent(bz_EventData *eventData)
10601060
switch (eventData->eventType)
10611061
{
10621062
case bz_eTickEvent:
1063-
pEvent = PyObject_CallNoArgs(tickEventData_V1);
1063+
pEvent = PyObject_CallFunctionObjArgs(tickEventData_V1, NULL);
10641064
break;
10651065
case bz_eGetPlayerSpawnPosEvent:
10661066
pEvent = genEvent (

0 commit comments

Comments
 (0)