diff --git a/main.py b/main.py index a5ded1a..13807b2 100644 --- a/main.py +++ b/main.py @@ -69,7 +69,7 @@ def apply_port_changes(): label = "Allocation " + str(alloc["id"]) + " for " + node_internal_name if alloc["id"] in allocation_server_lookup.keys(): svr = allocation_server_lookup[alloc["id"]] - if "pf_exclude" in svr.description: + if "pf_exclude" in svr["description"]: continue label = svr["name"] + "(" + svr["identifier"] + ") allocation"