Skip to content

Commit

Permalink
[downloader/curl] Fix progress reporting
Browse files Browse the repository at this point in the history
Bug in 8c53322
Closes #6490
  • Loading branch information
pukkandan committed Mar 9, 2023
1 parent 3588be5 commit 66aeaac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt_dlp/downloader/external.py
Expand Up @@ -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):
Expand Down

0 comments on commit 66aeaac

Please sign in to comment.