Skip to content

Commit

Permalink
fix: Remove errant pluses from a bad merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
feanil committed Jul 25, 2024
1 parent d757cfa commit 62269f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions common/djangoapps/util/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ def store_uploaded_file(
stored_file_name = file_storage.save(stored_file_name, uploaded_file)
if is_private and settings.DEFAULT_FILE_STORAGE == 'storages.backends.s3boto3.S3Boto3Storage':
S3Boto3Storage().connection.meta.client.put_object_acl(
+ ACL='private',
+ Bucket=settings.AWS_STORAGE_BUCKET_NAME,
+ Key=stored_file_name,
+ )
ACL='private',
Bucket=settings.AWS_STORAGE_BUCKET_NAME,
Key=stored_file_name,
)

if validator:
try:
Expand Down

0 comments on commit 62269f8

Please sign in to comment.