use warning color for failed collations
This commit is contained in:
parent
dd6f3ff02c
commit
0dcfd1d84a
|
@ -444,9 +444,9 @@ def collate(args):
|
|||
work_staging_dir.rmdir()
|
||||
|
||||
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:
|
||||
print(f'No files found for {work_id}, skipping')
|
||||
warn(f'No files found for {work_id}, skipping')
|
||||
|
||||
any_warnings = True
|
||||
|
||||
|
|
Loading…
Reference in a new issue