Skip to content

Commit

Permalink
Make path default to "./" so that it works without specifying it (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed Sep 23, 2021
1 parent 3488ffb commit a2d6c72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion parfive/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def retry(self, results):
return results

@classmethod
def simple_download(cls, urls, *, path=None, overwrite=None):
def simple_download(cls, urls, *, path="./", overwrite=None):
"""
Download a series of URLs to a single destination.
Expand All @@ -388,6 +388,7 @@ def simple_download(cls, urls, *, path=None, overwrite=None):
path : `pathlib.Path`, optional
The destination directory for the downloaded files.
Defaults to the current directory.
overwrite: `bool`, optional
Overwrite the files at the destination directory. If `False` the
Expand Down

0 comments on commit a2d6c72

Please sign in to comment.