fix a typo

This commit is contained in:
Omer Akram 2019-05-22 17:20:15 +05:00
parent 035c425581
commit 7c01a30d6c
1 changed files with 1 additions and 1 deletions

View File

@ -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: