Skip to content

Commit

Permalink
fix: trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
rudiejd committed May 21, 2024
1 parent 8530caf commit 6e71526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/mbta_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def maybe_reverse(stops, route):

async def trip_departure_predictions(trip_id: str, stop_id: str):
try:
prediction = await getV3("predictions", {"filter[trip]": trip_id, "filter[stop]": stop_id})
prediction = await getV3("predictions", {"filter[trip]": trip_id, "filter[stop]": stop_id})

return {'departure_time': prediction[0]['departure_time']}
except Exception as e:
Expand Down

0 comments on commit 6e71526

Please sign in to comment.