From e4f38481a629266d4f2b8231b92386d566f1568f Mon Sep 17 00:00:00 2001 From: Markus Holtermann Date: Sat, 26 Jan 2013 02:11:37 +0100 Subject: the ``bvggrabber.api.Departure`` does not need to have a byte representation of the start --- bvggrabber/api/scheduleddeparture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bvggrabber/api/scheduleddeparture.py') 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()) -- cgit v1.2.3