Skip to content

Commit

Permalink
Update Workflow class to fix file download link
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenAnpu committed Jul 29, 2024
1 parent 7d44a5b commit c00645f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def add_output(self, file_info: sly.api.file_api.FileInfo):
},
"title": f"<h4>{file_info.name}</h4>",
"mainLink": {
"url": f"<a href='{file_info.full_storage_url}' download='{file_info.name}'></a>",
"url": f"files/{file_info.id}/true",
"title": "Download",
},
}
Expand Down

0 comments on commit c00645f

Please sign in to comment.