summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2018-11-28 12:10:00 +0100
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2018-11-28 12:10:00 +0100
commit9a9369e0c135bd8e984ede19030f037338c27dd4 (patch)
tree19533c2ab857f571b894801cec461926ac604d8e
parent12a004ad3bcc2150dca5ae45c963161e7eedc25c (diff)
downloadbvg-grabber-9a9369e0c135bd8e984ede19030f037338c27dd4.tar.gz
bvg-grabber-9a9369e0c135bd8e984ede19030f037338c27dd4.tar.bz2
bvg-grabber-9a9369e0c135bd8e984ede19030f037338c27dd4.zip
Fixed program after bvg changed their website
-rw-r--r--bvggrabber/api/actualdeparture.py2
-rwxr-xr-xsetup.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bvggrabber/api/actualdeparture.py b/bvggrabber/api/actualdeparture.py
index 00b6d1d..c4b5977 100644
--- a/bvggrabber/api/actualdeparture.py
+++ b/bvggrabber/api/actualdeparture.py
@@ -57,7 +57,7 @@ class ActualDepartureQueryApi(QueryApi):
dep = Departure(start=self.station,
end=td[2].text.strip(),
when=td[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 4b73677..9120a66 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.2',
+ version='0.1.3',
url='https://github.com/MarkusH/bvg-grabber',
author='Christian Struck, Markus Holtermann',
author_email='info@markusholtermann.eu',