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:
@@ -92,4 +92,4 @@ class Network(Escpos):
|
||||
except socket.error:
|
||||
pass
|
||||
self.device.close()
|
||||
self.device = None
|
||||
self._device = False
|
||||
|
||||
Reference in New Issue
Block a user