mirror of
https://github.com/python-escpos/python-escpos
synced 2025-09-13 09:09:58 +00:00
Usb idVendor/idProduct are integers
This commit is contained in:
@@ -74,8 +74,8 @@ class Usb(Escpos):
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
idVendor: str = "",
|
||||
idProduct: str = "",
|
||||
idVendor: Optional[int] = None,
|
||||
idProduct: Optional[int] = None,
|
||||
usb_args: Dict[str, str] = {},
|
||||
timeout: Union[int, float] = 0,
|
||||
in_ep: int = 0x82,
|
||||
|
Reference in New Issue
Block a user