diff --git a/can/interfaces/usb2can/usb2canInterface.py b/can/interfaces/usb2can/usb2canInterface.py index 258853425..0d3323f9e 100644 --- a/can/interfaces/usb2can/usb2canInterface.py +++ b/can/interfaces/usb2can/usb2canInterface.py @@ -103,7 +103,7 @@ def __init__( self.can = Usb2CanAbstractionLayer(dll) # get the serial number of the device - device_id = kwargs.get("serial", d=channel) + device_id = kwargs.get("serial", channel) # search for a serial number if the device_id is None or empty if not device_id: