Skip to content

Commit

Permalink
Only load json if requested to
Browse files Browse the repository at this point in the history
  • Loading branch information
t-persson committed Aug 29, 2024
1 parent f6c9b00 commit dcfcd5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etos_test_runner/lib/log_area.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def __retry_upload(
# is not 0 bytes in size.
log_file.seek(0)
request = getattr(self.etos.http, verb.lower())
response = request(url, data=log_file, **requests_kwargs).json()
response = request(url, data=log_file, **requests_kwargs)
if as_json:
yield response.json()
else:
Expand Down

0 comments on commit dcfcd5b

Please sign in to comment.