diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-11-28 12:10:00 +0100 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-11-28 12:10:00 +0100 |
commit | 9a9369e0c135bd8e984ede19030f037338c27dd4 (patch) | |
tree | 19533c2ab857f571b894801cec461926ac604d8e /bvggrabber | |
parent | 12a004ad3bcc2150dca5ae45c963161e7eedc25c (diff) | |
download | bvg-grabber-9a9369e0c135bd8e984ede19030f037338c27dd4.tar.gz bvg-grabber-9a9369e0c135bd8e984ede19030f037338c27dd4.tar.bz2 bvg-grabber-9a9369e0c135bd8e984ede19030f037338c27dd4.zip |
Fixed program after bvg changed their website
Diffstat (limited to 'bvggrabber')
-rw-r--r-- | bvggrabber/api/actualdeparture.py | 2 |
1 files changed, 1 insertions, 1 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: |