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