summaryrefslogtreecommitdiff
path: root/bvggrabber/api/actualdeparture.py
diff options
context:
space:
mode:
authorChristian Struck <christian@struck.se>2013-01-31 15:40:58 +0100
committerChristian Struck <christian@struck.se>2013-01-31 15:40:58 +0100
commit6a71307e5affd7653db04d9943c77cccf30c3886 (patch)
tree88775b2cbe07dc79e4f648444aebdf23eb400152 /bvggrabber/api/actualdeparture.py
parentc10021e4d0e7f3cc54ecc796a4b979d92d666eb5 (diff)
downloadbvg-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.py2
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())