From 9a9369e0c135bd8e984ede19030f037338c27dd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20P=C3=A9rez-Cerezo?= Date: Wed, 28 Nov 2018 12:10:00 +0100 Subject: Fixed program after bvg changed their website --- bvggrabber/api/actualdeparture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bvggrabber/api/actualdeparture.py') 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: -- cgit v1.2.3