Fix RMV giving wrong data and ignoring given parameters (#42561)

This commit is contained in:
cgtobi 2020-10-29 11:50:39 +01:00 committed by GitHub
parent c8f00a7b38
commit bebbafdaba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -263,10 +263,10 @@ class RMVDepartureData:
if not dest_found:
continue
elif self._lines and journey["number"] not in self._lines:
if self._lines and journey["number"] not in self._lines:
continue
elif journey["minutes"] < self._time_offset:
if journey["minutes"] < self._time_offset:
continue
for attr in ["direction", "departure_time", "product", "minutes"]: