Skip to content

Commit

Permalink
fix multiple first and last sections
Browse files Browse the repository at this point in the history
  • Loading branch information
princefr committed Dec 3, 2024
1 parent 49a0db8 commit 327b494
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -821,9 +821,7 @@ def _build_fallback(
fallback_dp_copy, fallback_type, requested_obj, via_poi_access, language
)

if request["park_mode"] == [ParkMode.on_street.name] and (
request["origin_mode"] == ["bike"] or request["destination_mode"] == ["bike"]
):
if request["park_mode"] == [ParkMode.on_street.name]:
_update_fallback_with_bike_mode(
pt_journey,
fallback_dp_copy,
Expand Down

0 comments on commit 327b494

Please sign in to comment.