diff options
Diffstat (limited to 'yt_dlp/downloader/dash.py')
-rw-r--r-- | yt_dlp/downloader/dash.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/yt_dlp/downloader/dash.py b/yt_dlp/downloader/dash.py index 90c7a3ace..ce4001a09 100644 --- a/yt_dlp/downloader/dash.py +++ b/yt_dlp/downloader/dash.py @@ -57,9 +57,6 @@ class DashSegmentsFD(FragmentFD): # TODO: Make progress updates work without hooking twice # for ph in self._progress_hooks: # fd.add_progress_hook(ph) - success = fd.real_download(filename, info_copy) - if not success: - return False + return fd.real_download(filename, info_copy) else: - self.download_and_append_fragments(ctx, fragments_to_download, info_dict) - return True + return self.download_and_append_fragments(ctx, fragments_to_download, info_dict) |