aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/gcode.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-01-03 10:33:10 -0500
committerKevin O'Connor <kevin@koconnor.net>2018-01-03 10:33:10 -0500
commita0b4cdb5c44125297aa989a4da19849ea6e7de48 (patch)
treec6b68ea6cd5d2df778199bfdb05d8a5c42c019ca /klippy/gcode.py
parente4129a7e53cc859ace39bec69408ee687071f6d0 (diff)
downloadkutter-a0b4cdb5c44125297aa989a4da19849ea6e7de48.tar.gz
kutter-a0b4cdb5c44125297aa989a4da19849ea6e7de48.tar.xz
kutter-a0b4cdb5c44125297aa989a4da19849ea6e7de48.zip
gcode: Don't wait for temperature if the temperature is disabled
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/gcode.py')
-rw-r--r--klippy/gcode.py2
1 files changed, 1 insertions, 1 deletions
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: