mirror of
https://github.com/python-escpos/python-escpos
synced 2025-10-23 09:30:00 +00:00
add missing close() method in metaclass
This commit is contained in:
@@ -154,6 +154,10 @@ class Escpos(object, metaclass=ABCMeta):
|
||||
"""Open a printer device/connection."""
|
||||
pass
|
||||
|
||||
def close(self):
|
||||
"""Close a printer device/connection."""
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def _raw(self, msg: bytes) -> None:
|
||||
"""Send raw data to the printer.
|
||||
|
||||
Reference in New Issue
Block a user