Skip to content

Commit

Permalink
fix filename
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanJField committed Feb 9, 2024
1 parent 1a1cb5c commit 42b3bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_management/object_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def create_url(name, method, filename = None):
response = s3_client.generate_presigned_url('get_object',
Params={'Bucket': bucket['bucket_name'],
'Key': name,
'ResponseContentDisposition': f'attachment; filename = {filename}]',},
'ResponseContentDisposition': f'attachment; filename = {filename}',},
ExpiresIn=bucket['duration'])
else:
response = s3_client.generate_presigned_url('put_object',
Expand Down

0 comments on commit 42b3bf9

Please sign in to comment.