Updated autodetection of server-down for socket.io and updated requirements
This commit is contained in:
1 parent
7567734e1c
commit
d9f31fccfd
3 files changed
+18
-44
No files matched your search
@@ -41,6 +41,9 @@ class PrinterStateConnection(tornadio2.SocketConnection, PrinterCallback):
|
||||
print("Closed socket")
|
||||
printer.unregisterCallback(self)
|
||||
|
||||
def on_message(self, message):
|
||||
pass
|
||||
|
||||
def zChangeCB(self, currentZ):
|
||||
formattedCurrentZ = None
|
||||
if currentZ:
|
||||
|
||||
Reference in new issue
Block a user