Skip to content

Commit

Permalink
Use kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike committed Apr 22, 2022
1 parent a6aafcc commit a334ca4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/hdx/data/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,9 @@ def download(self, folder: Optional[str] = None) -> Tuple[str, str]:
with Download(
full_agent=self.configuration.get_user_agent(), headers=headers
) as downloader:
path = downloader.download_file(url, folder, filename)
path = downloader.download_file(
url, folder=folder, filename=filename
)
return url, path

@staticmethod
Expand Down

0 comments on commit a334ca4

Please sign in to comment.