summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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',