add type for raw

This commit is contained in:
Patrick Kanzler 2023-08-14 23:52:49 +02:00
parent 770a4b9836
commit b08f29429f

View File

@ -128,7 +128,7 @@ class Escpos(object):
self.close()
@abstractmethod
def _raw(self, msg):
def _raw(self, msg: bytes):
"""Send raw data to the printer.
This function has to be individually implemented by the implementations.