parent
05b3fcf863
commit
cec1d3cbda
1 changed files with 1 additions and 10 deletions
|
@ -77,8 +77,6 @@ class Module(core.module.Module):
|
|||
self.__printer_bed_temperature = "-"
|
||||
self.__tool1_temperature = "-"
|
||||
|
||||
self.update_status()
|
||||
|
||||
core.input.register(self, button=core.input.LEFT_MOUSE, cmd=self.__show_popup)
|
||||
|
||||
def octoprint_status(self, widget):
|
||||
|
@ -134,7 +132,7 @@ class Module(core.module.Module):
|
|||
tool_id += 1
|
||||
return tool_temperatures
|
||||
|
||||
def update_status(self):
|
||||
def update(self):
|
||||
try:
|
||||
self.__octoprint_state = self.__get_octoprint_state()
|
||||
|
||||
|
@ -250,11 +248,4 @@ class Module(core.module.Module):
|
|||
self.__webcam_images_queue = None
|
||||
self.__webcam_images_worker.stop()
|
||||
|
||||
def update(self):
|
||||
self.update_status()
|
||||
|
||||
def state(self, widget):
|
||||
return []
|
||||
|
||||
|
||||
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
|
||||
|
|
Loading…
Reference in a new issue