mirror of
https://github.com/iFargle/headscale-webui.git
synced 2025-12-14 19:09:49 +01:00
test
This commit is contained in:
@@ -833,8 +833,8 @@ def render_routes():
|
||||
# Is there a better way to do this??
|
||||
for item in route_id_list:
|
||||
payload += "\""+str(index)+"\": \""+str(item)+"\""
|
||||
if index != len(route_id_list): payload += ", "
|
||||
index += 1
|
||||
if index != len(route_id_list): payload += ", "
|
||||
payload+="}"
|
||||
app.logger.debug("JSON: %s", str(payload))
|
||||
json_payload = json.loads(payload)
|
||||
|
||||
Reference in New Issue
Block a user