Commit c7ff4725 authored by Yunhua Koglin's avatar Yunhua Koglin
Browse files

update

parent 84b96fe0
......@@ -217,6 +217,7 @@ class AwsStorage(BlobStorageBase):
)
outfile = io.BytesIO()
s3_client.download_fileobj(bucket, object_name, outfile)
outfile.seek(0)
return outfile
# return outfile.getvalue()
# return obj['Body'].read()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment