From 986fda59ce890f05a275f8b6f3fda125b65c236d Mon Sep 17 00:00:00 2001 From: tcely Date: Fri, 14 Feb 2025 18:44:15 -0500 Subject: [PATCH] Do not unset `Media.downloaded` when the file is not found --- tubesync/sync/signals.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tubesync/sync/signals.py b/tubesync/sync/signals.py index e019e188..7f114e38 100644 --- a/tubesync/sync/signals.py +++ b/tubesync/sync/signals.py @@ -186,7 +186,6 @@ def media_post_save(sender, instance, created, **kwargs): if instance.can_download and instance.downloaded: skip_changed = True != instance.skip instance.skip = True - instance.downloaded = False instance.media_file = None if (instance.source.download_media and instance.can_download) and not ( instance.skip or instance.downloaded or existing_media_download_task):