Skip to content

Commit b82e5f3

Browse files
authored
Merge pull request #10 from qgreen63/main
fixes #9
2 parents 7a8645b + 2397b7a commit b82e5f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SimpleMDMRepo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ def execute_curl(self, curl_cmd, text=True):
496496
result = subprocess.run(
497497
curl_cmd,
498498
shell=False,
499-
bufsize=1,
499+
bufsize=(1 if text else -1), # bufsize=1 only supported for text mode
500500
capture_output=True,
501501
check=True,
502502
text=text,

0 commit comments

Comments
 (0)