From 3683a6a53740504c5513d75cf770e116a12b2cbb Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 28 Mar 2023 20:50:59 +0900 Subject: [PATCH] test --- renderer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/renderer.py b/renderer.py index 1689440..16a96cc 100644 --- a/renderer.py +++ b/renderer.py @@ -804,13 +804,13 @@ def render_routes(): # Build the display: for route_id in route_id_list: # Get info on every route in the list: - machine = all_routes["routes"][int(route_id)]["machine"]["givenName"] + machine = all_routes["routes"][int(route_id)]["machine"]["givenName"] machine_id = all_routes["routes"][int(route_id)]["machine"]["id"] is_primary = all_routes["routes"][int(route_id)]["isPrimary"] is_enabled = all_routes["routes"][int(route_id)]["enabled"] - # Dump info about this route: - app.logger.debug(str(all_routes["routes"][int(route_id)])) + app.logger.debug("[%s] Machine: [%s] %s : %s / %s", str(route_id), str(machine_id), str(machine), str(is_enabled), str(is_primary)) + app.logger.debug(str(all_routes["routes"][int(route_id)])) # Set up the display code: enabled = "fiber_manual_record"