From b711abb8a14659c85d55c6c1c725be25d926923c Mon Sep 17 00:00:00 2001 From: GoldenAnpu Date: Fri, 21 Jun 2024 16:44:47 +0200 Subject: [PATCH] Fix project.team_id for get_info_by_path --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 65a88f3..0d48b9b 100644 --- a/src/main.py +++ b/src/main.py @@ -110,5 +110,5 @@ def download(project: sly.Project) -> str: sly.output.set_download(download_dir) sly.logger.info("Archive uploaded and ready for download.") api.app.add_input_project(project) - file_id = api.file.get_info_by_path(download_dir).id + file_id = api.file.get_info_by_path(project.team_id, download_dir).id api.app.add_output_file(file_id)