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()
|
||||
|
||||
@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.
|
||||
|
Reference in New Issue
Block a user