Skip to content

Commit

Permalink
Update pycsp.c
Browse files Browse the repository at this point in the history
  • Loading branch information
moonlight83340 committed Aug 29, 2024
1 parent 73ad88e commit 007f833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bindings/python/pycsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ static PyObject * pycsp_add_iface(PyObject * self, PyObject * args) {

if (num_args == 0) {
// No arguments, return a capsule with NULL
return PyCapsule_New(iface, "csp_iface_t", NULL);
Py_RETURN_NONE;
}

if (!PyArg_ParseTuple(args, "|HHSb", &addr, &netmask, &name, &is_default)) {
Expand Down

0 comments on commit 007f833

Please sign in to comment.