Skip to content

Commit

Permalink
Fix issue for local stops without vehicle rt url
Browse files Browse the repository at this point in the history
  • Loading branch information
vingerha committed Apr 11, 2024
1 parent a5367a5 commit d276991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/gtfs2/gtfs_rt_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def get_rt_route_trip_statuses(self):

departure_times = {}

if self._vehicle_position_url != "" :
if self._vehicle_position_url:
vehicle_positions = get_rt_vehicle_positions(self)

feed_entities = get_gtfs_feed_entities(
Expand Down

0 comments on commit d276991

Please sign in to comment.