mirror of
https://github.com/python-escpos/python-escpos
synced 2025-09-13 09:09:58 +00:00
add type for raw
This commit is contained in:
@@ -128,7 +128,7 @@ class Escpos(object):
|
|||||||
self.close()
|
self.close()
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def _raw(self, msg):
|
def _raw(self, msg: bytes):
|
||||||
"""Send raw data to the printer.
|
"""Send raw data to the printer.
|
||||||
|
|
||||||
This function has to be individually implemented by the implementations.
|
This function has to be individually implemented by the implementations.
|
||||||
|
Reference in New Issue
Block a user