Browse Source

chore: interpret bytes to string (#33773)

Co-authored-by: VerteDinde <[email protected]>
trop[bot] 3 years ago
parent
commit
0a758c418c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      script/release/uploaders/upload-index-json.py

+ 1 - 1
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()