Updated autodetection of server-down for socket.io and updated requirements

This commit is contained in:
Gina Häußge committed 2013-01-18 23:44:07 +01:00
1 parent 7567734e1c
commit d9f31fccfd
3 files changed
+18 -44

No files matched your search

+3
View File
@@ -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: