disable warning on skipping an already skipped video with no publish date, related to #77

This commit is contained in:
meeb 2021-03-08 13:26:34 +11:00
parent 02a0f924b4
commit 119493c181
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ def media_post_save(sender, instance, created, **kwargs):
if not instance.downloaded: if not instance.downloaded:
max_cap_age = instance.source.download_cap_date max_cap_age = instance.source.download_cap_date
published = instance.published published = instance.published
if not published: if not published and not instance.skip:
log.warn(f'Media: {instance.source} / {instance} has no published date ' log.warn(f'Media: {instance.source} / {instance} has no published date '
f'set, marking to be skipped') f'set, marking to be skipped')
instance.skip = True instance.skip = True