Skip to content

Commit

Permalink
fix(core): 🐛 fix the download source path
Browse files Browse the repository at this point in the history
  • Loading branch information
kikkomep committed Oct 18, 2024
1 parent dac8c7d commit 4bbca6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lifemonitor/api/models/rocrate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def download(self, target_path: str) -> str:
raise lm_exceptions.DownloadException(detail="RO-Crate unavailable", status=410)

tmpdir_path = Path(target_path)
local_zip = download_url(self.local_path,
local_zip = download_url(self.uri,
target_path=(tmpdir_path / 'rocrate.zip').as_posix())
logger.debug("ZIP Archive: %s", local_zip)
return (tmpdir_path / 'rocrate.zip').as_posix()
Expand Down

0 comments on commit 4bbca6e

Please sign in to comment.