Skip to content

Commit

Permalink
Fix project.team_id for get_info_by_path
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenAnpu committed Jun 21, 2024
1 parent 15b1981 commit b711abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit b711abb

Please sign in to comment.