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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ from ..escpos import Escpos
def is_usable() -> bool: def is_usable() -> bool:
"""Indicate whether this component can be used due to dependencies.""" """Indicate whether this component can be used due to dependencies."""
usable = False usable = False
if sys.platform.startswith("win"): if not sys.platform.startswith("win"):
usable = True usable = True
return usable return usable