diff options
author | Jesús <heckyel@hyperbola.info> | 2021-10-31 11:36:52 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-10-31 11:36:52 -0500 |
commit | 5bb25093eb718346ab8a723d2c04f0066fc3958a (patch) | |
tree | 8a7fa5611895a933eaf1ef1623f7b9e1a1c36157 /yt_dlp/downloader/fragment.py | |
parent | c7afb25e19a91493db6069d1db9f7d1bc8491dc1 (diff) | |
parent | 652fb0d446524af4b783276babd55f5fc6a3afeb (diff) | |
download | hypervideo-pre-5bb25093eb718346ab8a723d2c04f0066fc3958a.tar.lz hypervideo-pre-5bb25093eb718346ab8a723d2c04f0066fc3958a.tar.xz hypervideo-pre-5bb25093eb718346ab8a723d2c04f0066fc3958a.zip |
updated from upstream | 31/10/2021 at 11:36
Diffstat (limited to 'yt_dlp/downloader/fragment.py')
-rw-r--r-- | yt_dlp/downloader/fragment.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yt_dlp/downloader/fragment.py b/yt_dlp/downloader/fragment.py index c345f3148..a9d1471f8 100644 --- a/yt_dlp/downloader/fragment.py +++ b/yt_dlp/downloader/fragment.py @@ -370,7 +370,8 @@ class FragmentFD(FileDownloader): if max_progress == 1: return self.download_and_append_fragments(*args[0], pack_func=pack_func, finish_func=finish_func) max_workers = self.params.get('concurrent_fragment_downloads', max_progress) - self._prepare_multiline_status(max_progress) + if max_progress > 1: + self._prepare_multiline_status(max_progress) def thread_func(idx, ctx, fragments, info_dict, tpe): ctx['max_progress'] = max_progress |