summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
Diffstat (limited to 'py')
-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 2c97bd7..c86e76c 100644
--- a/py/pykms/pykmsbase.cpp
+++ b/py/pykms/pykmsbase.cpp
@@ -21,6 +21,7 @@ void init_pykmsbase(py::module &m)
{
py::class_<Card>(m, "Card")
.def(py::init<>())
+ .def(py::init<const string&>())
.def_property_readonly("fd", &Card::fd)
.def_property_readonly("get_first_connected_connector", &Card::get_first_connected_connector)