Better comment
This commit is contained in:
parent
7c01a30d6c
commit
29ef88f591
|
@ -70,8 +70,8 @@ class Usb(Escpos):
|
||||||
|
|
||||||
# pyusb has three backends: libusb0, libusb1 and openusb but
|
# pyusb has three backends: libusb0, libusb1 and openusb but
|
||||||
# only libusb1 backend implements the methods is_kernel_driver_active()
|
# only libusb1 backend implements the methods is_kernel_driver_active()
|
||||||
# and detach_kernel_driver(). This change helps enable this
|
# and detach_kernel_driver().
|
||||||
# library to work on Windows.
|
# This helps enable this library to work on Windows.
|
||||||
if self.device.backend.__module__.endswith("libusb1"):
|
if self.device.backend.__module__.endswith("libusb1"):
|
||||||
check_driver = None
|
check_driver = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue