diff --git a/dlibrary/dlibrary.py b/dlibrary/dlibrary.py index b71e671..dd5c4c6 100755 --- a/dlibrary/dlibrary.py +++ b/dlibrary/dlibrary.py @@ -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