We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 31c71e2 + e2154c8 commit 35fa8c8Copy full SHA for 35fa8c8
tubesync/sync/models/media__tasks.py
@@ -18,12 +18,11 @@ def copy_thumbnail(self):
18
if not self.source.copy_thumbnails:
19
return
20
if not self.thumb_file_exists:
21
- from sync.tasks import delete_task_by_media, download_media_thumbnail
+ from sync.tasks import download_media_image
22
args = ( str(self.pk), self.thumbnail, )
23
if not args[1]:
24
25
- delete_task_by_media('sync.tasks.download_media_thumbnail', args)
26
- if download_media_thumbnail.now(*args):
+ if download_media_image.call_local(*args):
27
self.refresh_from_db()
28
29
0 commit comments