diff --git a/daidepp/parser/node_visitor.py b/daidepp/parser/node_visitor.py index f5c8f07..57e2c8d 100644 --- a/daidepp/parser/node_visitor.py +++ b/daidepp/parser/node_visitor.py @@ -219,7 +219,7 @@ def visit_scd(self, node, visited_children): for scd_statment in scd_statements: _, power, _, supply_center, ws_supply_centers, _ = scd_statment - sc_list = [] + sc_list = [supply_center] for ws_sc in ws_supply_centers: _, sc = ws_sc sc_list.append(sc)