Skip to content

Commit

Permalink
tools/clean_svg: fix leftover call to getchildren()
Browse files Browse the repository at this point in the history
Fixes: 2752276 ("tools/clean_svg.py: fix to work with Python3")
  • Loading branch information
whot committed Oct 15, 2024
1 parent b9c4a40 commit 7a6c7e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/clean_svg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a6c7e1

Please sign in to comment.