diff --git a/src/calibre/devices/libusb/libusb.c b/src/calibre/devices/libusb/libusb.c index 4ec6b3b1e6..b084842e20 100644 --- a/src/calibre/devices/libusb/libusb.c +++ b/src/calibre/devices/libusb/libusb.c @@ -118,7 +118,7 @@ static PyObject* get_devices(PyObject *self, PyObject *args) { static char libusb_doc[] = "Interface to libusb."; static PyMethodDef libusb_methods[] = { - {"get_devices", get_devices, METH_VARARGS, + {"get_devices", get_devices, METH_NOARGS, "get_devices()\n\nGet the list of USB devices on the system." },