Update src/escpos/printer/win32raw.py
Add return type Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
This commit is contained in:
parent
0d82a00103
commit
94eea12264
@ -131,7 +131,7 @@ class Win32Raw(Escpos):
|
||||
logging.info("Win32Raw printer enabled")
|
||||
|
||||
@dependency_win32print
|
||||
def close(self):
|
||||
def close(self) -> None:
|
||||
"""Close connection to default printer."""
|
||||
if not self._device:
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user