mirror of
https://github.com/python-escpos/python-escpos
synced 2025-09-13 09:09:58 +00:00
Update src/escpos/printer/usb.py
Add return type Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
This commit is contained in:
@@ -190,7 +190,7 @@ class Usb(Escpos):
|
||||
return self.device.read(self.in_ep, 16)
|
||||
|
||||
@dependency_usb
|
||||
def close(self):
|
||||
def close(self) -> None:
|
||||
"""Release USB interface."""
|
||||
if not self._device:
|
||||
return
|
||||
|
Reference in New Issue
Block a user