summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--py/pykms/pykmsbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/pykms/pykmsbase.cpp b/py/pykms/pykmsbase.cpp
index 1cc91d8..d626019 100644
--- a/py/pykms/pykmsbase.cpp
+++ b/py/pykms/pykmsbase.cpp
@@ -179,7 +179,7 @@ void init_pykmsbase(py::module &m)
// This adds a ref to the object, and must be unpacked with __ob_unpack_helper()
PyObject* pob = ob.ptr();
Py_XINCREF(pob);
- self->commit(pob, allow);
+ return self->commit(pob, allow);
}, py::arg("data"), py::arg("allow_modeset") = false)
.def("commit_sync", &AtomicReq::commit_sync, py::arg("allow_modeset") = false)
;