summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bvggrabber/api/actualdeparture.py2
-rw-r--r--bvggrabber/api/scheduleddeparture.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bvggrabber/api/actualdeparture.py b/bvggrabber/api/actualdeparture.py
index 699e8aa..7cdac17 100644
--- a/bvggrabber/api/actualdeparture.py
+++ b/bvggrabber/api/actualdeparture.py
@@ -42,7 +42,7 @@ class ActualDepartureQueryApi(QueryApi):
departures = []
for row in rows:
tds = row.find_all('td')
- dep = Departure(start=self.station,
+ dep = Departure(start=self.station_enc,
end=tds[2].text.strip(),
when=tds[0].text.strip(),
line=tds[1].text.strip())
diff --git a/bvggrabber/api/scheduleddeparture.py b/bvggrabber/api/scheduleddeparture.py
index d2c46a3..093d248 100644
--- a/bvggrabber/api/scheduleddeparture.py
+++ b/bvggrabber/api/scheduleddeparture.py
@@ -60,7 +60,7 @@ class ScheduledDepartureQueryApi(QueryApi):
departures = []
for row in rows:
tds = row.find_all('td')
- dep = Departure(start=self.station,
+ dep = Departure(start=self.station_enc,
end=tds[2].text.strip(),
when=tds[0].text.strip(),
line=tds[1].text.strip())