This commit is contained in:
iFargle
2023-03-29 14:03:57 +09:00
parent 303487ebda
commit c48d095e64

View File

@@ -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]))