From b76b7baab83e73ac0c47f072e3d1d181fccfa51d Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Wed, 13 Apr 2022 21:50:41 -0700 Subject: [PATCH] chore: interpret bytes to string (#33774) Co-authored-by: VerteDinde --- script/release/uploaders/upload-index-json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/release/uploaders/upload-index-json.py b/script/release/uploaders/upload-index-json.py index eb137cf28e023..b2ef649a821ce 100755 --- a/script/release/uploaders/upload-index-json.py +++ b/script/release/uploaders/upload-index-json.py @@ -56,7 +56,7 @@ def main(): new_content = get_content() - with open(index_json, "w") as f: + with open(index_json, "wb") as f: f.write(new_content) bucket, access_key, secret_key = s3_config()