diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-10-11 14:28:19 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-10-11 14:28:19 -0400 |
commit | ecf25964691feee8db37ce820dcd88bf8a6124c9 (patch) | |
tree | 3e99fa70db9d5f03f3200c6d16110561a0979133 | |
parent | 6a2eaeae405e2ab3f1c95f78b7652d58f1a182a6 (diff) | |
download | kutter-ecf25964691feee8db37ce820dcd88bf8a6124c9.tar.gz kutter-ecf25964691feee8db37ce820dcd88bf8a6124c9.tar.xz kutter-ecf25964691feee8db37ce820dcd88bf8a6124c9.zip |
gcode: Don't warn on fan not present if input is from a file
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r-- | klippy/gcode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/gcode.py b/klippy/gcode.py index a267c85d..45da131c 100644 --- a/klippy/gcode.py +++ b/klippy/gcode.py @@ -256,7 +256,7 @@ class GCodeParser: self.bg_temp(heater) def set_fan_speed(self, speed): if self.fan is None: - if speed: + if speed and not self.is_fileinput: self.respond_info("Fan not configured") return print_time = self.toolhead.get_last_move_time() |