Skip to content

Commit

Permalink
remove unused continue
Browse files Browse the repository at this point in the history
Co-authored-by: Rodja Trappe <[email protected]>
  • Loading branch information
pascalzauberzeug and rodja committed Sep 9, 2024
1 parent 623719b commit 936cceb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion field_friend/automations/navigation/navigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ async def start(self) -> None:
distance = await self.implement.get_stretch(self.MAX_STRETCH_DISTANCE)
if distance > self.MAX_STRETCH_DISTANCE: # we do not want to drive to long without observing
await self._drive(self.DEFAULT_DRIVE_DISTANCE)
continue
else:
await self._drive(distance)
with self.gnss.pause(): # Pause GNSS for better local accuracy
Expand Down

0 comments on commit 936cceb

Please sign in to comment.