From 0dcfd1d84ac900b8a01d36c1aee8475335f4408a Mon Sep 17 00:00:00 2001 From: xenofem Date: Mon, 15 Apr 2024 21:15:39 -0400 Subject: [PATCH] use warning color for failed collations --- dlibrary/dlibrary.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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