Skip to content
Snippets Groups Projects
Verified Commit e50affa0 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

FIX: typo

parent 4cd69dc7
Branches
Tags
2 merge requests!79Release 0.10.0,!75F http proxy
Pipeline #30134 failed
...@@ -75,7 +75,7 @@ class _WrappedHTTPResponse(CaosDBHTTPResponse): ...@@ -75,7 +75,7 @@ class _WrappedHTTPResponse(CaosDBHTTPResponse):
return self.response.status_code return self.response.status_code
def read(self, size=None): def read(self, size=None):
if size is None or size = 0: if size is None or size == 0:
result = b'' result = b''
for chunk in self.response.iter_content(chunk_size=1024): for chunk in self.response.iter_content(chunk_size=1024):
result = result + chunk result = result + chunk
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment