Skip to content

Commit

Permalink
Fix != None to is not None
Browse files Browse the repository at this point in the history
  • Loading branch information
sktometometo committed Jul 1, 2023
1 parent 71b9a2c commit 64b9c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spot_wrapper/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ def _start_query(self) -> None:
self._logger.error("Error when getting robot command feedback: %s", e)
self._spot_wrapper._last_trajectory_command = None

if self._spot_wrapper._last_navigate_to_command != None:
if self._spot_wrapper._last_navigate_to_command is not None:
is_moving = True

self._spot_wrapper._is_moving = is_moving
Expand Down

0 comments on commit 64b9c6e

Please sign in to comment.