Skip to content

Commit

Permalink
use default timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mcquin committed Mar 5, 2018
1 parent 1fb9040 commit f31a5e6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bioformats/formatreader.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,8 +686,7 @@ def download(self, url):
bucket_name, key = re.compile('s3://([\w\d\-\.]+)/(.*)').search(url).groups()
url = client.generate_presigned_url(
'get_object',
Params={'Bucket': bucket_name, 'Key': key.replace("+", " ")},
ExpiresIn=86400
Params={'Bucket': bucket_name, 'Key': key.replace("+", " ")}
)

src = urlopen(url)
Expand Down

0 comments on commit f31a5e6

Please sign in to comment.