Skip to content

Commit

Permalink
Merge pull request #211 from lialkaas/master
Browse files Browse the repository at this point in the history
fix issue with fetching datasource objects to specified directory
  • Loading branch information
hackalog authored May 18, 2021
2 parents 7ba5e7c + 239a7b5 commit 3c3745f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1276,7 +1276,7 @@ def fetch(self, fetch_path=None, fetch_options=None, force_download=False):
self.fetched_files_ = []
self.fetched_ = True
for filename, fetch_params in self.file_dict.items():
fetch_kwargs = {**fetch_params, **fetch_options, 'force':force_download}
fetch_kwargs = {**fetch_params, **fetch_options, 'force':force_download, 'dst_dir':self.download_dir}
status, result, hash_value = fetch_file(**fetch_kwargs)
if status: # True (cached) or HTTP Code (successful download)
fetch_params['hash_value'] = hash_value

0 comments on commit 3c3745f

Please sign in to comment.