mirror of
https://github.com/python-escpos/python-escpos
synced 2025-09-13 09:09:58 +00:00
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:
@@ -80,7 +80,7 @@ class File(Escpos):
|
||||
return
|
||||
logging.info("File printer enabled")
|
||||
|
||||
def flush(self):
|
||||
def flush(self) -> None:
|
||||
"""Flush printing content."""
|
||||
self.device.flush()
|
||||
|
||||
|
Reference in New Issue
Block a user