From c376b95f95b6d5e03ffb60046fc52ea80e59e9e5 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Thu, 9 Mar 2023 21:57:44 +0530 Subject: [PATCH] [downloader/curl] Fix progress reporting Bug in 8c53322cda75394a8d551dde20b2529ee5ad6e89 Closes #6490 --- yt_dlp/downloader/external.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/downloader/external.py b/yt_dlp/downloader/external.py index 5f54017a8..ee130c827 100644 --- a/yt_dlp/downloader/external.py +++ b/yt_dlp/downloader/external.py @@ -176,7 +176,7 @@ def _call_downloader(self, tmpfilename, info_dict): return 0 def _call_process(self, cmd, info_dict): - return Popen.run(cmd, text=True, stderr=subprocess.PIPE) + return Popen.run(cmd, text=True, stderr=subprocess.PIPE if self._CAPTURE_STDERR else None) class CurlFD(ExternalFD):