da-ssl/blechelse-python

arrivals are not shown in the destination-column

Closed this issue · 1 comments

arrivals are not shown in the destination-column

If a trip is doubled in the gettrips()-function, it is clear that the trip ends at the station loaded in the program. The trip-class doesn't recognize this yet, but in my last commit i made a parameter which specifies the origin of the data a trip-object is generated from. I will extend the trip-class now that if it recognizes at init time that the data comes from the transport.rest/stops/:id/arrivals, it will set the destination-attribute to the station currently loaded in the program (MainWindow.loadedStation)