From 0a758c418c7c50a5715559f5c90a719b867e3f0f Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Thu, 14 Apr 2022 16:26:23 +0900 Subject: [PATCH] chore: interpret bytes to string (#33773) 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()