Skip to content

Commit 377a24b

Browse files
committed
fixing bug, that came from refactoring
1 parent 7ed7490 commit 377a24b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

doc/source/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,4 @@ Indices and tables
4848
==================
4949

5050
* :ref:`genindex`
51-
* :ref:`modindex`
5251
* :ref:`search`

vbbpy/station.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def parseStopsResponse(self, response: dict, mode: modes.Modes, station) -> int:
275275

276276
for dep in response:
277277

278-
lineResponse = dep["depLine"]
278+
lineResponse = dep["line"]
279279
newLine = line.Line(lineResponse["id"], lineResponse["name"], lineResponse["product"])
280280

281281
newDeparture = departure.Departure(dep["tripId"], dep["plannedWhen"], dep["delay"], newLine,

0 commit comments

Comments
 (0)