aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/gcode.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/gcode.py')
-rw-r--r--klippy/gcode.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/klippy/gcode.py b/klippy/gcode.py
index 22ec6606..d517a3f0 100644
--- a/klippy/gcode.py
+++ b/klippy/gcode.py
@@ -675,6 +675,8 @@ class GCodeParser:
def request_restart(self, result):
if self.is_printer_ready:
print_time = self.toolhead.get_last_move_time()
+ if result == 'exit':
+ logging.info("Exiting (print time %.3fs)" % (print_time,))
self.printer.send_event("gcode:request_restart", print_time)
self.toolhead.dwell(0.500)
self.toolhead.wait_moves()