[cleanup] Minor refactoring of fragment

This commit is contained in:
pukkandan
2021-06-24 22:23:33 +05:30
parent 8e897ed283
commit bd4d1ea398
3 changed files with 76 additions and 78 deletions

View File

@@ -58,5 +58,5 @@ class DashSegmentsFD(FragmentFD):
# for ph in self._progress_hooks:
# fd.add_progress_hook(ph)
return fd.real_download(filename, info_copy)
else:
return self.download_and_append_fragments(ctx, fragments_to_download, info_dict)
return self.download_and_append_fragments(ctx, fragments_to_download, info_dict)