We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a8645b + 2397b7a commit b82e5f3Copy full SHA for b82e5f3
1 file changed
SimpleMDMRepo.py
@@ -496,7 +496,7 @@ def execute_curl(self, curl_cmd, text=True):
496
result = subprocess.run(
497
curl_cmd,
498
shell=False,
499
- bufsize=1,
+ bufsize=(1 if text else -1), # bufsize=1 only supported for text mode
500
capture_output=True,
501
check=True,
502
text=text,
0 commit comments