diff options
Diffstat (limited to 'klippy/extras')
-rw-r--r-- | klippy/extras/filament_switch_sensor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/filament_switch_sensor.py b/klippy/extras/filament_switch_sensor.py index 260332ec..20df5959 100644 --- a/klippy/extras/filament_switch_sensor.py +++ b/klippy/extras/filament_switch_sensor.py @@ -62,7 +62,7 @@ class BaseSensor(object): self.event_running = False def _exec_gcode(self, prefix, template): try: - self.gcode.run_script(prefix + template.render()) + self.gcode.run_script(prefix + template.render() + "\nM400") except Exception: logging.exception("Script running error") def set_enable(self, runout, insert): |