From 5e7434b20b55b705c06a2cb5e32bd198b5ef5e65 Mon Sep 17 00:00:00 2001 From: Christopher Teutsch Date: Wed, 15 May 2019 22:24:18 +0200 Subject: [PATCH] use original time for delay output --- monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor.py b/monitor.py index d3a9afd..37c596b 100755 --- a/monitor.py +++ b/monitor.py @@ -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):