Skip to content

Commit

Permalink
Replace equality with recommended is comparator
Browse files Browse the repository at this point in the history
  • Loading branch information
aeshub committed Dec 2, 2024
1 parent 9647296 commit fdb9a05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/isar/state_machine/states/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit fdb9a05

Please sign in to comment.