Skip to content

Commit 45557c9

Browse files
authored
Merge pull request #8 from swisstopo/develop
INT Release
2 parents 230393e + 9207956 commit 45557c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws/aws.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ def load_file(bucket: Bucket, key: str, local_path: str):
6161

6262

6363
def store_file(bucket: Bucket, key: str, local_path: str):
64-
bucket.upload_file(local_path, key)
64+
bucket.upload_file(local_path, key, ExtraArgs={'ContentType': 'application/pdf'})

0 commit comments

Comments
 (0)