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:
Benito López 2023-09-25 18:44:03 +02:00 committed by GitHub
parent 86ae775881
commit 848cc3417f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,7 @@ class File(Escpos):
if self.auto_flush:
self.flush()
def close(self):
def close(self) -> None:
"""Close system file."""
if not self._device:
return