1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-04-26 13:56:15 +02:00

[downloader/curl] Fix progress reporting

Bug in 8c53322cda75394a8d551dde20b2529ee5ad6e89
Closes 
This commit is contained in:
pukkandan 2023-03-09 21:57:44 +05:30 committed by Elyse
parent 8df470761e
commit c376b95f95

@ -176,7 +176,7 @@ class ExternalFD(FragmentFD):
return 0 return 0
def _call_process(self, cmd, info_dict): 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): class CurlFD(ExternalFD):