Skip to content

Commit

Permalink
fix issue with fetching datasource objects to specified directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksii Lialka committed Feb 26, 2021
1 parent c7b96a0 commit 239a7b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 239a7b5

Please sign in to comment.