Usb idVendor/idProduct are integers
This commit is contained in:
parent
a8e38bed9a
commit
a0ec58d213
@ -74,8 +74,8 @@ class Usb(Escpos):
|
|||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
idVendor: str = "",
|
idVendor: Optional[int] = None,
|
||||||
idProduct: str = "",
|
idProduct: Optional[int] = None,
|
||||||
usb_args: Dict[str, str] = {},
|
usb_args: Dict[str, str] = {},
|
||||||
timeout: Union[int, float] = 0,
|
timeout: Union[int, float] = 0,
|
||||||
in_ep: int = 0x82,
|
in_ep: int = 0x82,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user