From 7c01a30d6c9c7422bf940659cb7b0c3142be4cc1 Mon Sep 17 00:00:00 2001 From: Omer Akram Date: Wed, 22 May 2019 17:20:15 +0500 Subject: [PATCH] fix a typo --- src/escpos/printer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/escpos/printer.py b/src/escpos/printer.py index ed38d4f..b20876b 100644 --- a/src/escpos/printer.py +++ b/src/escpos/printer.py @@ -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: