diff options
author | Christian Struck <christian@struck.se> | 2013-01-31 15:40:58 +0100 |
---|---|---|
committer | Christian Struck <christian@struck.se> | 2013-01-31 15:40:58 +0100 |
commit | 6a71307e5affd7653db04d9943c77cccf30c3886 (patch) | |
tree | 88775b2cbe07dc79e4f648444aebdf23eb400152 /bvggrabber/api/actualdeparture.py | |
parent | c10021e4d0e7f3cc54ecc796a4b979d92d666eb5 (diff) | |
download | bvg-grabber-6a71307e5affd7653db04d9943c77cccf30c3886.tar.gz bvg-grabber-6a71307e5affd7653db04d9943c77cccf30c3886.tar.bz2 bvg-grabber-6a71307e5affd7653db04d9943c77cccf30c3886.zip |
added function dateformat and renamed function hourformat to timeformat and removed wrong enc in actualdeparture
Diffstat (limited to 'bvggrabber/api/actualdeparture.py')
-rw-r--r-- | bvggrabber/api/actualdeparture.py | 2 |
1 files changed, 1 insertions, 1 deletions
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()) |