[downloader/curl] Fix progress reporting

Bug in 8c53322cda
Closes #6490
pull/6499/head
pukkandan 1 year ago
parent 3588be59ce
commit 66aeaac9aa
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

@ -176,7 +176,7 @@ class ExternalFD(FragmentFD):
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):

Loading…
Cancel
Save