From 9e00ebdce5866b8f5b8562a9281fafe7b1f5d23f Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Wed, 9 Jan 2019 17:23:32 +0200 Subject: pykms: expose Card(device) constructor Signed-off-by: Tomi Valkeinen --- py/pykms/pykmsbase.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'py') 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_(m, "Card") .def(py::init<>()) + .def(py::init()) .def_property_readonly("fd", &Card::fd) .def_property_readonly("get_first_connected_connector", &Card::get_first_connected_connector) -- cgit v1.2.3