Update merge_xmls.py (#5103)

This commit is contained in:
Irina Efode 2021-04-05 14:51:26 +03:00 committed by GitHub
parent 4673cc2d25
commit 7d0cc01c1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,7 @@ def merge_xml(input_folder_paths: list, output_folder_paths: str):
logger.error(f" {folder_path} is not a directory!")
continue
xml_reports = glob.glob(os.path.join(folder_path, '**/report*.xml'))
xml_reports = glob.glob(os.path.join(folder_path, 'report*.xml'))
xml_root = ET.parse(xml_reports[0]).getroot()
for op in xml_root.find("ops_list"):