From 389c245607252f649ba9354ed6406ada380ac3b1 Mon Sep 17 00:00:00 2001 From: Dmytro Tkachuk Date: Mon, 23 Sep 2019 21:02:08 +0300 Subject: [PATCH] upload public executable by default --- scripts/upload_to_do.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upload_to_do.py b/scripts/upload_to_do.py index 8983138a..ad7b491b 100644 --- a/scripts/upload_to_do.py +++ b/scripts/upload_to_do.py @@ -28,7 +28,7 @@ def upload_file(access_key_id, secret_access_key, filename, space, key, region=' endpoint_url=endpoint_url, aws_access_key_id=access_key_id, aws_secret_access_key=secret_access_key) - client.upload_file(filename, space, key, ExtraArgs={'ACL':'public-read'}) + client.upload_file(filename, space, key, ExtraArgs={'ACL': 'public-read'}) if __name__ == "__main__":