use original time for delay output
This commit is contained in:
parent
2903eb9c0d
commit
5e7434b20b
@ -129,7 +129,7 @@ def fixup_data(d: dict) -> dict:
|
||||
|
||||
|
||||
def print_trip(trip: dict) -> None:
|
||||
trip_part = "The {}:{} {} (???:{}: :{}) service to {} ".format(trip['hour'], trip['minute'], trip['lineNumber'], trip['lineCode'], trip['directionCode'], trip['direction'])
|
||||
trip_part = "The {}:{} {} (???:{}: :{}) service to {} ".format(trip['orgHour'], trip['orgMinute'], trip['lineNumber'], trip['lineCode'], trip['directionCode'], trip['direction'])
|
||||
if is_cancelled(trip):
|
||||
print(trip_part + "is cancelled.")
|
||||
elif is_late(trip):
|
||||
|
Loading…
Reference in New Issue
Block a user