From f23bcacabe8888c8c75515c895b0163ec8a4d595 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benito=20L=C3=B3pez?= Date: Thu, 24 Aug 2023 23:17:34 +0200 Subject: [PATCH] fix typo in lp connector (#548) --- src/escpos/printer/lp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/escpos/printer/lp.py b/src/escpos/printer/lp.py index 980c35f..1b7ed54 100644 --- a/src/escpos/printer/lp.py +++ b/src/escpos/printer/lp.py @@ -19,7 +19,7 @@ from ..escpos import Escpos def is_usable() -> bool: """Indicate whether this component can be used due to dependencies.""" usable = False - if sys.platform.startswith("win"): + if not sys.platform.startswith("win"): usable = True return usable