base_panel: fix error from trying to update temps before the printer initializes
This commit is contained in:
parent
1dee914564
commit
50e72b0308
@ -246,7 +246,9 @@ class BasePanel(ScreenPanel):
|
|||||||
if action != "notify_status_update" or self._printer is None:
|
if action != "notify_status_update" or self._printer is None:
|
||||||
return
|
return
|
||||||
|
|
||||||
for device in self._printer.get_temp_store_devices():
|
devices = self._printer.get_temp_store_devices()
|
||||||
|
if devices is not None:
|
||||||
|
for device in devices:
|
||||||
name = ""
|
name = ""
|
||||||
if not (device.startswith("extruder") or device.startswith("heater_bed")):
|
if not (device.startswith("extruder") or device.startswith("heater_bed")):
|
||||||
if self.titlebar_name_type == "full":
|
if self.titlebar_name_type == "full":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user