From b08f29429fc28e3d9db5187933ea7f566302ee5b Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Mon, 14 Aug 2023 23:52:49 +0200 Subject: [PATCH] add type for raw --- src/escpos/escpos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/escpos/escpos.py b/src/escpos/escpos.py index cb1427d..4cf04a5 100644 --- a/src/escpos/escpos.py +++ b/src/escpos/escpos.py @@ -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.