Skip to content

Commit

Permalink
Fix pylint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermef committed Nov 1, 2023
1 parent 83cd06b commit c761c0a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions thumbor_aws/s3_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ async def upload(
async with self.get_client() as client:
response = None
try:
settings = dict(
Bucket=self.bucket_name,
Key=path,
Body=data,
ContentType=content_type,
)
settings = {
"Bucket": self.bucket_name,
"Key": path,
"Body": data,
"ContentType": content_type,
}
if self.file_acl is not None:
settings["ACL"] = self.file_acl

Expand Down

0 comments on commit c761c0a

Please sign in to comment.