From 7d44a5ba5e5d103e2e4f1dd6062f4ffa2f3bc3fe Mon Sep 17 00:00:00 2001 From: GoldenAnpu Date: Mon, 29 Jul 2024 17:21:06 +0200 Subject: [PATCH] Update Workflow class to fix file download link --- src/workflow.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/workflow.py b/src/workflow.py index 88c88cb..1f85185 100644 --- a/src/workflow.py +++ b/src/workflow.py @@ -55,7 +55,10 @@ def add_output(self, file_info: sly.api.file_api.FileInfo): "backgroundColor": "#d9f7e4", }, "title": f"

{file_info.name}

", - "mainLink": {"url": f"{file_info.full_storage_url}", "title": "Download"}, + "mainLink": { + "url": f"", + "title": "Download", + }, } } self.api.app.workflow.add_output_file(file_info, meta=meta)