NR: Turns out arrivals/departure doesn't actually respect UTC indication

This commit is contained in:
Evelyn 2017-03-26 14:13:50 +01:00
parent 67d7a20c5c
commit 9f04faaa90

View file

@ -134,7 +134,7 @@ class Module(object):
method = client.service.GetArrivalDepartureBoardByCRS if len(location_code) == 3 else client.service.GetArrivalDepartureBoardByTIPLOC
try:
query = method(100, location_code, datetime.now().isoformat().split(".")[0] + "Z", filter["period"],
query = method(100, location_code, datetime.now().isoformat().split(".")[0], filter["period"],
nr_filterlist, "to", '', "PBS", False)
except WebFault as detail:
if str(detail) == "Server raised fault: 'Invalid crs code supplied'":