Add return type to _raw()

This commit is contained in:
belono 2023-10-31 00:08:37 +01:00
parent e8b41c18b3
commit 933bde49b3

View File

@ -148,7 +148,7 @@ class Win32Raw(Escpos):
win32print.ClosePrinter(self._device) win32print.ClosePrinter(self._device)
self._device = False self._device = False
def _raw(self, msg): def _raw(self, msg) -> None:
"""Print any command sent in raw format. """Print any command sent in raw format.
:param msg: arbitrary code to be printed :param msg: arbitrary code to be printed