add type for raw
This commit is contained in:
parent
770a4b9836
commit
b08f29429f
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user