Skip to content

Commit

Permalink
FIX: Timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Apr 27, 2018
1 parent 2cb6d97 commit d2f6ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expyfun/_utils.py
Expand Up @@ -532,7 +532,7 @@ def fetch_data_file(fname):
with open(fname_out, 'wb') as fid:
www = this_urlopen(fname_url, timeout=30.0)
try:
fid.write(www.read(timeout=30.0))
fid.write(www.read())
finally:
www.close()
except Exception:
Expand Down

0 comments on commit d2f6ffe

Please sign in to comment.