use warning color for failed collations
This commit is contained in:
		
							parent
							
								
									dd6f3ff02c
								
							
						
					
					
						commit
						0dcfd1d84a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -444,9 +444,9 @@ def collate(args): | ||||||
|                 work_staging_dir.rmdir() |                 work_staging_dir.rmdir() | ||||||
| 
 | 
 | ||||||
|             if not collation_result: |             if not collation_result: | ||||||
|                 print(f'Unable to deduce file structure for {work_id}, skipping') |                 warn(f'Unable to deduce file structure for {work_id}, skipping') | ||||||
|             elif collator.index == 0: |             elif collator.index == 0: | ||||||
|                 print(f'No files found for {work_id}, skipping') |                 warn(f'No files found for {work_id}, skipping') | ||||||
| 
 | 
 | ||||||
|             any_warnings = True |             any_warnings = True | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue