From 6a71307e5affd7653db04d9943c77cccf30c3886 Mon Sep 17 00:00:00 2001 From: Christian Struck Date: Thu, 31 Jan 2013 15:40:58 +0100 Subject: added function dateformat and renamed function hourformat to timeformat and removed wrong enc in actualdeparture --- bvggrabber/api/actualdeparture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bvggrabber/api/actualdeparture.py') diff --git a/bvggrabber/api/actualdeparture.py b/bvggrabber/api/actualdeparture.py index c55a47e..93213ef 100644 --- a/bvggrabber/api/actualdeparture.py +++ b/bvggrabber/api/actualdeparture.py @@ -47,7 +47,7 @@ class ActualDepartureQueryApi(QueryApi): for row in rows: td = row.find_all('td') if td: - dep = Departure(start=self.station_enc, + dep = Departure(start=self.station, end=td[2].text.strip(), when=td[0].text.strip(), line=td[1].text.strip()) -- cgit v1.2.3