NetworkManager is now created on demand and re-created after a certain timeout.

CL-541
This commit is contained in:
Jaime van Kessel 2017-11-21 14:35:17 +01:00
parent b1649f2d38
commit a8e71cf50c
4 changed files with 57 additions and 9 deletions

View file

@ -16,7 +16,8 @@ class LegacyUM3OutputDevice(NetworkedPrinterOutputDevice):
self._number_of_extruders = 2
def _update(self):
super()._update()
if not super()._update():
return
self._get("printer", onFinished=self._onGetPrinterDataFinished)
self._get("print_job", onFinished=self._onGetPrintJobFinished)