[downloader/curl] Fix progress reporting

Bug in 8c53322cda
Closes #6490
This commit is contained in:
pukkandan
2023-03-11 19:51:13 -06:00
committed by Elyse
parent 8df470761e
commit c376b95f95
+1 -1
View File
@@ -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):