1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-08-24 09:03:34 +00:00

fix typo in lp connector (#548)

This commit is contained in:
Benito López
2023-08-24 23:17:34 +02:00
committed by GitHub
parent c11d192e65
commit f23bcacabe

View File

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