From b26a854bdb6fc6e90d035ec97daf67016f277f4c Mon Sep 17 00:00:00 2001 From: xenofem Date: Sat, 20 Apr 2024 13:45:55 -0400 Subject: [PATCH] use warning color when skipping non-manga/CG work --- dlibrary/dlibrary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlibrary/dlibrary.py b/dlibrary/dlibrary.py index 3aa7b33..5f0b489 100755 --- a/dlibrary/dlibrary.py +++ b/dlibrary/dlibrary.py @@ -267,7 +267,7 @@ async def fetch_async(args): print(f'Fetching DLSite metadata for {work_id}') dlsite_metadata = await api.get_work(work_id) if dlsite_metadata.work_type not in [dlsite_async.WorkType.MANGA, dlsite_async.WorkType.CG_ILLUSTRATIONS]: - print(f'Work {work_id} is not a manga or CG set, skipping') + warn(f'Work {work_id} is not a manga or CG set, skipping') any_warnings = True continue db_row = {