From e5f76efebf32769330b3bf0244a69e4549c5e4ce Mon Sep 17 00:00:00 2001 From: tcely Date: Fri, 14 Feb 2025 18:53:03 -0500 Subject: [PATCH] Do not unset `Media.media_file` This could be a temporary condition, and keeping the old path in the database is not harmful for the software. --- tubesync/sync/signals.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tubesync/sync/signals.py b/tubesync/sync/signals.py index 8ed33d7f..ba7ed480 100644 --- a/tubesync/sync/signals.py +++ b/tubesync/sync/signals.py @@ -187,7 +187,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.media_file = None downloaded = False if (instance.source.download_media and instance.can_download) and not ( instance.skip or downloaded or existing_media_download_task):