diff --git a/tubesync/sync/tasks.py b/tubesync/sync/tasks.py index 2597649..7fe2f27 100644 --- a/tubesync/sync/tasks.py +++ b/tubesync/sync/tasks.py @@ -325,7 +325,7 @@ def download_media(media_id): f'not downloading') return max_cap_age = media.source.download_cap_date - published = instance.published + published = media.published if max_cap_age and published: if published <= max_cap_age: log.warn(f'Download task triggered media: {media} (UUID: {media.pk}) but '