This commit is contained in:
iFargle
2023-03-29 12:12:05 +09:00
parent ee6875fb3a
commit 842d288a0f

View File

@@ -827,9 +827,9 @@ def render_routes():
# and which route ID to make primary. We then toggle each route
# in order, with the primary route being toggled last
# Step 1: Create an array of all route_id's that JavaScript likes:
json_route_ids = {}
for route in route_id_list:
json_route_ids.append(int(route))
#json_route_ids = {}
#for route in route_id_list:
# json_route_ids.append(int(route))
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"][idx]))