--- a/buses.py Fri Dec 01 08:04:57 2017 +0200 +++ b/buses.py Wed Dec 06 22:47:45 2017 +0200 @@ -114,7 +114,7 @@ stop = trip.contains_stop(self) if stop and (arrivals or not stop.is_arrival) and stop is not trip.schedule[-1]: # ja jos tämä halt on tulevaisuudessa, - stop_time = datetime.combine(date, time()) + stop.arrival_time + stop_time = datetime.combine(date, time()) + stop.departure_time if stop_time + timedelta(minutes = 1) >= now(): # lisää halt listaan. result.append({