mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 14:06:36 +00:00
Reschedule the task when the checklist failed
This commit is contained in:
parent
be6a51b052
commit
b1267a3e59
@ -615,7 +615,7 @@ def download_media(media_id, override=False):
|
|||||||
raise InvalidTaskError(_('no such media')) from e
|
raise InvalidTaskError(_('no such media')) from e
|
||||||
else:
|
else:
|
||||||
if not media.download_checklist(override):
|
if not media.download_checklist(override):
|
||||||
return
|
raise Exception('media download not ready')
|
||||||
|
|
||||||
filepath = media.filepath
|
filepath = media.filepath
|
||||||
container = format_str = None
|
container = format_str = None
|
||||||
|
Loading…
Reference in New Issue
Block a user