From 59579c477d2d8a780c8cc5d79041d110f432d5b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benito=20L=C3=B3pez?= Date: Mon, 25 Sep 2023 18:45:33 +0200 Subject: [PATCH] Update src/escpos/printer/lp.py Add return type Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com> --- src/escpos/printer/lp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/escpos/printer/lp.py b/src/escpos/printer/lp.py index 3d9440b..028f9a7 100644 --- a/src/escpos/printer/lp.py +++ b/src/escpos/printer/lp.py @@ -155,7 +155,7 @@ class LP(Escpos): self.device.terminate() self._device = False - def flush(self): + def flush(self) -> None: """End line and wait for new commands.""" if self.device.stdin.writable(): self.device.stdin.write(b"\n")