Skip to content

Commit 8b9d10b

Browse files
authored
don't compare vendor when check existed devs
1 parent 4cfa887 commit 8b9d10b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def main(pack_path: str, xml_path: str):
8787
if node.tag != 'Device':
8888
continue
8989
for ele in node.iter():
90-
if ele.tag == 'ChipInfo' and ele.attrib.get('Vendor') == vendor_name:
90+
if ele.tag == 'ChipInfo':
9191
vendor_existed_devs.append(ele.attrib.get('Name'))
9292

9393
print('exsited devices: ' + str(vendor_existed_devs))

0 commit comments

Comments
 (0)