Skip to content

Commit cbbf0a3

Browse files
committed
Fix start_navigate_to()
1 parent a40a878 commit cbbf0a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spot_wrapper/wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2556,7 +2556,7 @@ def _start_navigate_to(self, target_waypoint_id) -> typing.Tuple[bool, str, str]
25562556
self._lease = self._lease_wallet.advance()
25572557
self._lease_keepalive = LeaseKeepAlive(self._lease_client)
25582558

2559-
if self._state_navigate_to_valid:
2559+
if not self._state_navigate_to_valid:
25602560
return False, "Navigation is canceled", "preempted"
25612561

25622562
status = self._graph_nav_client.navigation_feedback(nav_to_cmd_id)

0 commit comments

Comments
 (0)