diff --git a/src/isar/state_machine/states/monitor.py b/src/isar/state_machine/states/monitor.py index e573bd03..a51baca1 100644 --- a/src/isar/state_machine/states/monitor.py +++ b/src/isar/state_machine/states/monitor.py @@ -114,7 +114,7 @@ def _run(self) -> None: ) break - if self.state_machine.current_task == None: + if self.state_machine.current_task is None: self.state_machine.iterate_current_task() self.state_machine.current_task.status = status @@ -145,7 +145,7 @@ def _run(self) -> None: ) self.state_machine.iterate_current_task() - if self.state_machine.current_task == None: + if self.state_machine.current_task is None: transition = self.state_machine.full_mission_finished # type: ignore break