Skip to content

Commit

Permalink
Don't stream session
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgross committed Feb 28, 2024
1 parent ad9707d commit 48d13c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pcloud/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def _do_request(self, method, authenticate=True, json=True, endpoint=None, **kw)
params.update(kw)
log.debug("Doing request to %s%s", endpoint, method)
log.debug("Params: %s", params)
resp = self.session.get(endpoint + method, params=params)
resp = self.session.get(endpoint + method, params=params, stream=False)
if json:
result = resp.json()
else:
Expand Down

0 comments on commit 48d13c9

Please sign in to comment.