From 933bde49b33a16752adb84a332f89d9467826dec Mon Sep 17 00:00:00 2001 From: belono Date: Tue, 31 Oct 2023 00:08:37 +0100 Subject: [PATCH] Add return type to _raw() --- src/escpos/printer/win32raw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/escpos/printer/win32raw.py b/src/escpos/printer/win32raw.py index 8ab5994..2b26732 100644 --- a/src/escpos/printer/win32raw.py +++ b/src/escpos/printer/win32raw.py @@ -148,7 +148,7 @@ class Win32Raw(Escpos): win32print.ClosePrinter(self._device) self._device = False - def _raw(self, msg): + def _raw(self, msg) -> None: """Print any command sent in raw format. :param msg: arbitrary code to be printed