summaryrefslogtreecommitdiff
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
parent9a9369e0c135bd8e984ede19030f037338c27dd4 (diff)
downloadbvg-grabber-7e74926bd8e2da4fdcdcc7ff5ca5adfc3c0c7083.zip
bvg-grabber-7e74926bd8e2da4fdcdcc7ff5ca5adfc3c0c7083.tar.gz
bvg-grabber-7e74926bd8e2da4fdcdcc7ff5ca5adfc3c0c7083.tar.bz2
Same error also occurred in scheduleddeparture.pydevelop
Bumped version number to 0.1.4
-rw-r--r--bvggrabber/api/scheduleddeparture.py2
-rwxr-xr-xsetup.py2
2 files changed, 2 insertions, 2 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:
diff --git a/setup.py b/setup.py
index 9120a66..98864cf 100755
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ setup(
name='bvg-grabber',
description='Querying the upcoming public transport departures in Berlin',
long_description=description,
- version='0.1.3',
+ version='0.1.4',
url='https://github.com/MarkusH/bvg-grabber',
author='Christian Struck, Markus Holtermann',
author_email='info@markusholtermann.eu',