summaryrefslogtreecommitdiff
path: root/bvggrabber
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2018-12-11 13:10:20 +0100
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2018-12-11 13:10:20 +0100
commit7e74926bd8e2da4fdcdcc7ff5ca5adfc3c0c7083 (patch)
tree730bf6ea98c8a5fd0937852494a7b06348c965b0 /bvggrabber
parent9a9369e0c135bd8e984ede19030f037338c27dd4 (diff)
downloadbvg-grabber-7e74926bd8e2da4fdcdcc7ff5ca5adfc3c0c7083.tar.gz
bvg-grabber-7e74926bd8e2da4fdcdcc7ff5ca5adfc3c0c7083.tar.bz2
bvg-grabber-7e74926bd8e2da4fdcdcc7ff5ca5adfc3c0c7083.zip
Same error also occurred in scheduleddeparture.py
Bumped version number to 0.1.4
Diffstat (limited to 'bvggrabber')
-rw-r--r--bvggrabber/api/scheduleddeparture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bvggrabber/api/scheduleddeparture.py b/bvggrabber/api/scheduleddeparture.py
index 101f692..69defcf 100644
--- a/bvggrabber/api/scheduleddeparture.py
+++ b/bvggrabber/api/scheduleddeparture.py
@@ -74,7 +74,7 @@ class ScheduledDepartureQueryApi(QueryApi):
dep = Departure(start=self.station,
end=tds[2].text.strip(),
when=tds[0].text.strip(),
- line=stro[1].text.strip())
+ line=stro[0].text.strip())
departures.append(dep)
return Response(True, self.station, departures)
else: