From 119493c18169d9a403a6b7cc237709be4d64989b Mon Sep 17 00:00:00 2001 From: meeb Date: Mon, 8 Mar 2021 13:26:34 +1100 Subject: [PATCH] disable warning on skipping an already skipped video with no publish date, related to #77 --- tubesync/sync/signals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tubesync/sync/signals.py b/tubesync/sync/signals.py index 349b547..9a2ed86 100644 --- a/tubesync/sync/signals.py +++ b/tubesync/sync/signals.py @@ -101,7 +101,7 @@ def media_post_save(sender, instance, created, **kwargs): if not instance.downloaded: max_cap_age = instance.source.download_cap_date published = instance.published - if not published: + if not published and not instance.skip: log.warn(f'Media: {instance.source} / {instance} has no published date ' f'set, marking to be skipped') instance.skip = True