fix a typo
This commit is contained in:
parent
035c425581
commit
7c01a30d6c
|
@ -72,7 +72,7 @@ class Usb(Escpos):
|
|||
# only libusb1 backend implements the methods is_kernel_driver_active()
|
||||
# and detach_kernel_driver(). This change helps enable this
|
||||
# library to work on Windows.
|
||||
if sef.device.backend.__module__.endswith("libusb1"):
|
||||
if self.device.backend.__module__.endswith("libusb1"):
|
||||
check_driver = None
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue