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:
parent
cc22cf0ad2
commit
5062a09b0a
@ -145,7 +145,7 @@ class LP(Escpos):
|
||||
return
|
||||
logging.info("LP printer enabled")
|
||||
|
||||
def close(self):
|
||||
def close(self) -> None:
|
||||
"""Stop the subprocess."""
|
||||
if not self._device:
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user