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 11, 2024
1 parent cd02780 commit 9b87121
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 9b87121

Please sign in to comment.