mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-11 15:15:15 +02:00
Merge pull request #443 from SheffieldML/dataset_download_url_bugfix
fix: Bug in datasets.py
This commit is contained in:
commit
59be79e962
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ def download_url(url, store_directory, save_name=None, messages=True, suffix='')
|
|||
meta = response.info()
|
||||
content_length_str = meta.get("Content-Length")
|
||||
if content_length_str:
|
||||
file_size = int(content_length_str[0])
|
||||
file_size = int(content_length_str)
|
||||
else:
|
||||
file_size = None
|
||||
status = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue