Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
iFargle committed Apr 2, 2023
1 parent 04deed6 commit 19a229c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,11 +682,11 @@ def render_routes():
# Get a list of all Route ID's to iterate through:
all_routes_id_list = []
for route in all_routes["routes"]:
all_routes_id_list.append(route["id"])
if route["machine"]["name"]:
all_routes_id_list.append(route["id"])
app.logger.info("Found route %s / machine: %s", str(route["id"]), route["machine"]["name"])
else:
app.logger.info("Route id %s has no machine associated. Skipping", str(route["id"]))
app.logger.info("Route id %s has no machine associated.", str(route["id"]))


route_content = ""
Expand Down

0 comments on commit 19a229c

Please sign in to comment.