diff --git a/tools/clean_svg.py b/tools/clean_svg.py index da9e80c2..a5558058 100755 --- a/tools/clean_svg.py +++ b/tools/clean_svg.py @@ -261,7 +261,7 @@ def apply_id_and_class_from_group(group_node): _id = group_node.attrib.get("id") if _id is None: return - for child in group_node.getchildren(): + for child in group_node: if child.tag == "rect" or child.tag == "circle": if button_assigned: continue