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:
parent
fd5e4601d8
commit
0d82a00103
@ -190,7 +190,7 @@ class Usb(Escpos):
|
|||||||
return self.device.read(self.in_ep, 16)
|
return self.device.read(self.in_ep, 16)
|
||||||
|
|
||||||
@dependency_usb
|
@dependency_usb
|
||||||
def close(self):
|
def close(self) -> None:
|
||||||
"""Release USB interface."""
|
"""Release USB interface."""
|
||||||
if not self._device:
|
if not self._device:
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user