diff --git a/tubesync/sync/tasks.py b/tubesync/sync/tasks.py index 2736fdc7..00f4ffd3 100644 --- a/tubesync/sync/tasks.py +++ b/tubesync/sync/tasks.py @@ -615,7 +615,9 @@ def download_media(media_id, override=False): raise InvalidTaskError(_('no such media')) from e else: if not media.download_checklist(override): - raise Exception('media download not ready') + # any condition that needs ro reschedule the task + # should raise an exception to avoid this + return filepath = media.filepath container = format_str = None