diff --git a/renderer.py b/renderer.py index 1280646..4963453 100644 --- a/renderer.py +++ b/renderer.py @@ -1,6 +1,6 @@ # pylint: disable=line-too-long, wrong-import-order -import headscale, helper, pytz, os, yaml, logging, json +import headscale, helper, pytz, os, yaml, logging from flask import Flask, Markup, render_template from datetime import datetime from dateutil import parser @@ -827,7 +827,7 @@ 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 - json_payload = json.loads(route_id_list) + # json_payload = json.loads(route_id_list) 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]))