mirror of
				https://github.com/qurator-spk/modstool.git
				synced 2025-11-04 03:14:14 +01:00 
			
		
		
		
	🐛 Leave tqdm progress bar to avoid confusion through other left-over progress bars
This commit is contained in:
		
							parent
							
								
									22b62d7a2f
								
							
						
					
					
						commit
						11d7b012ec
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue