From 246050001ac59ce8a1faa54673d3d9c984eb1d40 Mon Sep 17 00:00:00 2001 From: Roman PASSLER Date: Sun, 1 Mar 2026 18:37:55 +0100 Subject: [PATCH] fix(nets): use GetNetClassName() instead of GetClassName() on NETINFO_ITEM NETINFO_ITEM objects don't have a GetClassName() method, causing an AttributeError crash when listing nets. The correct method is GetNetClassName() which returns the net class name string. --- python/commands/routing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/commands/routing.py b/python/commands/routing.py index d64d19c..202f840 100644 --- a/python/commands/routing.py +++ b/python/commands/routing.py @@ -509,7 +509,7 @@ class RoutingCommands: { "name": net.GetNetname(), "code": net.GetNetCode(), - "class": net.GetClassName(), + "class": net.GetNetClassName(), } )