Skip to content

Commit

Permalink
Follow up to #4971 (#4972)
Browse files Browse the repository at this point in the history
Follow up to #4971
Gzip wants bytes, not str
I can't use boto3 atm so I didn't catch this
  • Loading branch information
clee2000 authored Feb 22, 2024
1 parent d04691f commit 36cc261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/lambda/github-status-test/lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def download_log(full_name, conclusion, job_id):
"Authorization": f"token {GITHUB_TOKEN}",
}
r = requests.get(url, headers=headers)
log_data = r.text
log_data = r.content

object_path = f"log/{job_id}"
if full_name != "pytorch/pytorch":
Expand Down

0 comments on commit 36cc261

Please sign in to comment.