add delay_arrival (#12169)

This adds the delay_arrival field from the schiene interface.
This field sometimes explains an ontime=false with delay=0...
This commit is contained in:
akloeckner 2018-02-04 18:30:03 +01:00 committed by Fabian Affolter
parent 64cbfdfd77
commit cff4f8ec9a

View file

@ -116,4 +116,5 @@ class SchieneData(object):
'delay_arrival': 0})
# IMHO only delay_departure is useful
con['delay'] = delay['delay_departure']
con['delay_arrival'] = delay['delay_arrival']
con['ontime'] = con.get('ontime', False)