mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-30 14:15:13 +00:00
[downloader/curl] Fix progress reporting
Bug in 8c53322cda
Closes #6490
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user