aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/verify_heater.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/extras/verify_heater.py')
-rw-r--r--klippy/extras/verify_heater.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/extras/verify_heater.py b/klippy/extras/verify_heater.py
index a76646f5..8c5360d5 100644
--- a/klippy/extras/verify_heater.py
+++ b/klippy/extras/verify_heater.py
@@ -35,8 +35,8 @@ class HeaterCheck:
if self.printer.get_start_args().get('debugoutput') is not None:
# Disable verify_heater if outputting to a debug file
return
- pheater = self.printer.lookup_object('heater')
- self.heater = pheater.lookup_heater(self.heater_name)
+ pheaters = self.printer.lookup_object('heaters')
+ self.heater = pheaters.lookup_heater(self.heater_name)
logging.info("Starting heater checks for %s", self.heater_name)
reactor = self.printer.get_reactor()
self.check_timer = reactor.register_timer(self.check_event, reactor.NOW)