From a0b4cdb5c44125297aa989a4da19849ea6e7de48 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 3 Jan 2018 10:33:10 -0500 Subject: [PATCH] gcode: Don't wait for temperature if the temperature is disabled Signed-off-by: Kevin O'Connor --- klippy/gcode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/gcode.py b/klippy/gcode.py index b398a116..ddd522d0 100644 --- a/klippy/gcode.py +++ b/klippy/gcode.py @@ -270,7 +270,7 @@ class GCodeParser: heater.set_temp(print_time, temp) except heater.error as e: raise error(str(e)) - if wait: + if wait and temp: self.bg_temp(heater) def set_fan_speed(self, speed): if self.fan is None: