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

fix/use-temp-sqlite3
Mike Gerber 4 weeks ago
parent 22b62d7a2f
commit 11d7b012ec

@ -417,7 +417,7 @@ def process(mets_files: List[str], output_file: str, output_page_info: str):
mods_info = [] mods_info = []
page_info = [] page_info = []
logger.info('Processing METS files') 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: try:
root = ET.parse(mets_file).getroot() root = ET.parse(mets_file).getroot()
mets = root # XXX .find('mets:mets', ns) does not work here mets = root # XXX .find('mets:mets', ns) does not work here

Loading…
Cancel
Save