diff --git a/cf_remote/commands.py b/cf_remote/commands.py index e1eb504..3bdbb57 100644 --- a/cf_remote/commands.py +++ b/cf_remote/commands.py @@ -298,7 +298,7 @@ def _iterate_over_packages(tags=None, version=None, edition=None, download=False else: for artifact in artifacts: if download: - package_path= download_package(artifact.url, directory=output_dir, checksum=artifact.checksum) + package_path= download_package(artifact.url, checksum=artifact.checksum) if output_dir : output_dir = os.path.normpath(output_dir) parent = os.path.dirname(output_dir) diff --git a/cf_remote/web.py b/cf_remote/web.py index cc91e0c..28d95c5 100644 --- a/cf_remote/web.py +++ b/cf_remote/web.py @@ -25,7 +25,7 @@ def get_json(url): return data -def download_package(url, path=None, directory=None, checksum=None): +def download_package(url, path=None, checksum=None): if checksum and not SHA256_RE.match(checksum):