Skip to content

Commit

Permalink
Fix arguments not passed to url_retrieve function in
Browse files Browse the repository at this point in the history
download_all_complete method and bump version
  • Loading branch information
loicdtx committed Oct 31, 2018
1 parent 58f0ad9 commit 48570d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lsru/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

from .utils import url_retrieve

__version__ = "0.4.2"
__version__ = "0.4.3"

# FileNotFoundError does not exist in python2
try:
Expand Down Expand Up @@ -464,6 +464,7 @@ def download_all_complete(self, path, overwrite=False, check_complete=True):
filename = url.split('/')[-1]
dst = os.path.join(path, filename)
print('Downloading %s' % filename)
url_retrieve(url, dst)
url_retrieve(url, dst, overwrite=overwrite,
check_complete=check_complete)


0 comments on commit 48570d9

Please sign in to comment.