1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-12-02 09:43:30 +00:00

Restore device status to False on close()

This commit is contained in:
belono
2023-09-03 20:12:11 +02:00
parent 21b329a955
commit 7103af083c
7 changed files with 7 additions and 7 deletions

View File

@@ -92,4 +92,4 @@ class Network(Escpos):
except socket.error:
pass
self.device.close()
self.device = None
self._device = False