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