temperature: fix cooldown after 207914a
This commit is contained in:
parent
f37a6b579f
commit
455cb9da99
@ -216,6 +216,7 @@ class TemperaturePanel(ScreenPanel):
|
||||
target = None
|
||||
max_temp = float(self._printer.get_config_section(heater)['max_temp'])
|
||||
name = heater.split()[1] if len(heater.split()) > 1 else heater
|
||||
with contextlib.suppress(KeyError):
|
||||
for i in self.preheat_options[setting]:
|
||||
logging.info(f"{self.preheat_options[setting]}")
|
||||
if i == name:
|
||||
|
Loading…
x
Reference in New Issue
Block a user