diff --git a/klippy/klippy.py b/klippy/klippy.py index 65538aa9..217ea53b 100644 --- a/klippy/klippy.py +++ b/klippy/klippy.py @@ -202,7 +202,8 @@ class Printer: def send_event(self, event, *params): return [cb(*params) for cb in self.event_handlers.get(event, [])] def request_exit(self, result): - self.run_result = result + if self.run_result is None: + self.run_result = result self.reactor.end()