diff options
Diffstat (limited to 'bvggrabber/api/scheduleddeparture.py')
-rw-r--r-- | bvggrabber/api/scheduleddeparture.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bvggrabber/api/scheduleddeparture.py b/bvggrabber/api/scheduleddeparture.py index 38d8f8a..ba8664f 100644 --- a/bvggrabber/api/scheduleddeparture.py +++ b/bvggrabber/api/scheduleddeparture.py @@ -63,7 +63,7 @@ class ScheduledDepartureQueryApi(QueryApi): departures = [] for row in rows: tds = row.find_all('td') - dep = Departure(start=self.station_enc, + dep = Departure(start=self.station, end=tds[2].text.strip(), when=tds[0].text.strip(), line=tds[1].text.strip()) |