Skip to content

Commit 4bbca6e

Browse files
committed
fix(core): 🐛 fix the download source path
1 parent dac8c7d commit 4bbca6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lifemonitor/api/models/rocrate/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def download(self, target_path: str) -> str:
283283
raise lm_exceptions.DownloadException(detail="RO-Crate unavailable", status=410)
284284

285285
tmpdir_path = Path(target_path)
286-
local_zip = download_url(self.local_path,
286+
local_zip = download_url(self.uri,
287287
target_path=(tmpdir_path / 'rocrate.zip').as_posix())
288288
logger.debug("ZIP Archive: %s", local_zip)
289289
return (tmpdir_path / 'rocrate.zip').as_posix()

0 commit comments

Comments
 (0)