1
0
Fork 0
mirror of https://github.com/qurator-spk/modstool.git synced 2025-06-08 11:20:07 +02:00

🐛 Leave tqdm progress bar to avoid confusion through other left-over progress bars

This commit is contained in:
Mike Gerber 2024-11-27 19:03:35 +01:00
parent 22b62d7a2f
commit 11d7b012ec

View file

@ -417,7 +417,7 @@ def process(mets_files: List[str], output_file: str, output_page_info: str):
mods_info = []
page_info = []
logger.info('Processing METS files')
for mets_file in tqdm(mets_files_real, leave=False):
for mets_file in tqdm(mets_files_real, leave=True):
try:
root = ET.parse(mets_file).getroot()
mets = root # XXX .find('mets:mets', ns) does not work here