diff --git a/utils/s3_utils.py b/utils/s3_utils.py index 4f019dc48..d045a3721 100644 --- a/utils/s3_utils.py +++ b/utils/s3_utils.py @@ -72,10 +72,10 @@ class S3Store: s3_object = self.s3.Object(bucket_name=self.bucket_name, key=key) if content_type: - s3_object.put(Body=file_object, ExtraArgs={ - 'ContentType': content_type, - 'ACL': 'public-read', - }) + s3_object.put(Body=file_object, + ContentType=content_type, + ACL='public-read' + ) else: s3_object.put(Body=file_object)