mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-22 13:06:34 +00:00
Do not unset Media.downloaded
when the file is not found
This commit is contained in:
parent
806dde6cac
commit
986fda59ce
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user