[pybullet] clear error after parsing UDP string argument (instead of shared memory 'int' argument)
This commit is contained in:
@@ -266,6 +266,9 @@ static PyObject* pybullet_connectPhysicsServer(PyObject* self, PyObject* args, P
|
|||||||
"connectPhysicsServer cannot parse second argument (either integer or string)");
|
"connectPhysicsServer cannot parse second argument (either integer or string)");
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
PyErr_Clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user