summaryrefslogtreecommitdiff
path: root/py/pykms
diff options
context:
space:
mode:
Diffstat (limited to 'py/pykms')
-rw-r--r--py/pykms/pykmsbase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/pykms/pykmsbase.cpp b/py/pykms/pykmsbase.cpp
index 7a2ce75..668e6e3 100644
--- a/py/pykms/pykmsbase.cpp
+++ b/py/pykms/pykmsbase.cpp
@@ -22,6 +22,7 @@ void init_pykmsbase(py::module &m)
py::class_<Card>(m, "Card")
.def(py::init<>())
.def(py::init<const string&>())
+ .def(py::init<const string&, uint32_t>())
.def_property_readonly("fd", &Card::fd)
.def_property_readonly("get_first_connected_connector", &Card::get_first_connected_connector)