Update src/escpos/printer/file.py
Add return type Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com>
This commit is contained in:
parent
848cc3417f
commit
cc22cf0ad2
@ -80,7 +80,7 @@ class File(Escpos):
|
|||||||
return
|
return
|
||||||
logging.info("File printer enabled")
|
logging.info("File printer enabled")
|
||||||
|
|
||||||
def flush(self):
|
def flush(self) -> None:
|
||||||
"""Flush printing content."""
|
"""Flush printing content."""
|
||||||
self.device.flush()
|
self.device.flush()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user