Stability updates for websocket and printer shutdown

This commit is contained in:
Jordan Ruthe
2020-11-16 18:18:11 -05:00
parent f223f74f7f
commit 87d346e541
4 changed files with 120 additions and 129 deletions

View File

@@ -64,7 +64,7 @@ class SystemPanel(ScreenPanel):
#TODO: Shouldn't need this
self.system_timeout = GLib.timeout_add(1000, self.update_system_load)
def restart_klippy(self, type=None):
def restart_klippy(self, widget, type=None):
if type == "firmware":
self._screen._ws.klippy.restart_firmware()
else: