Update src/escpos/printer/lp.py

Add return type

Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
This commit is contained in:
Benito López 2023-09-25 18:45:11 +02:00 committed by GitHub
parent cc22cf0ad2
commit 5062a09b0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,7 +145,7 @@ class LP(Escpos):
return return
logging.info("LP printer enabled") logging.info("LP printer enabled")
def close(self): def close(self) -> None:
"""Stop the subprocess.""" """Stop the subprocess."""
if not self._device: if not self._device:
return return