Skip to content

Commit

Permalink
Merge branch 'test/blank_slate' into test/main
Browse files Browse the repository at this point in the history
  • Loading branch information
FiveMovesAhead committed Dec 22, 2024
2 parents 3430df7 + 5759a10 commit f308976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tig-benchmarker/master/master/submissions_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def _post(self, submission_type: str, req: Union[SubmitPrecommitRequest, SubmitB
'Content-Encoding': 'br',
'Accept-Encoding': 'br',
})
data = brotli.compress(data)
data = brotli.compress(data.encode())
resp = requests.post(f"{api_url}/submit-{submission_type}", data=data, headers=headers)
if resp.status_code == 200:
logger.info(f"submitted {submission_type} successfully")
Expand Down

0 comments on commit f308976

Please sign in to comment.