From fd5e4601d8be1c925ff02529f262f46e64ec35a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benito=20L=C3=B3pez?= Date: Mon, 25 Sep 2023 18:46:16 +0200 Subject: [PATCH] Update src/escpos/printer/serial.py Add return type Co-authored-by: Patrick Kanzler <4189642+patkan@users.noreply.github.com> --- src/escpos/printer/serial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/escpos/printer/serial.py b/src/escpos/printer/serial.py index 031f34e..5ba10ce 100644 --- a/src/escpos/printer/serial.py +++ b/src/escpos/printer/serial.py @@ -165,7 +165,7 @@ class Serial(Escpos): """Read the data buffer and return it to the caller.""" return self.device.read(16) - def close(self): + def close(self) -> None: """Close Serial interface.""" if not self._device: return