Skip to content

Commit

Permalink
Merge pull request #8 from KPMP/develop
Browse files Browse the repository at this point in the history
Q1 2023 Atlas Release
  • Loading branch information
zwright authored Mar 28, 2023
2 parents c335e79 + ccd8cdf commit 2b9b22b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.7-alpine
FROM python:3.7.12-alpine3.14
WORKDIR /code
ENV FLASK_APP app.py
ENV FLASK_RUN_HOST 0.0.0.0
Expand Down
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def downloadFile(packageId, objectName):
try:
objectNameFull = packageId + '/' + objectName
object = minioClient.get_object(s3Bucket, objectNameFull, request_headers=None)
return send_file(object, as_attachment=True, attachment_filename=objectName)
return send_file(object, as_attachment=True, download_name=objectName)
except S3Error as err:
print(err)
return err
Expand Down

0 comments on commit 2b9b22b

Please sign in to comment.