Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
peprolinbot committed Jul 17, 2023
1 parent 752fd7a commit 50dadc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion busGal_api/transport/expeditions.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def __init__(self, id: int, name: str, origin: Stop, destination: Stop, line: Li
It represents stops the expedition goes trough in a special format. Only given in `get_expedition_details`
"""

self.bos_dot_gal_url = f"https://www.bus.gal/gl/service/expedition/{self.id}/nojs?ori={self.origin.bus_stop_id}&des={self.destination.bus_stop_id}&date={self.origin.time.strftime('%Y-%m-%d')}"
self.bus_dot_gal_url = f"https://www.bus.gal/gl/service/expedition/{self.id}/nojs?ori={self.origin.bus_stop_id}&des={self.destination.bus_stop_id}&date={self.origin.time.strftime('%Y-%m-%d')}"
"""
Url on bus.gal for the expedition's details page. Shows it's itinerary and looks good, so I put it in here
"""
Expand Down

0 comments on commit 50dadc9

Please sign in to comment.