From 96255d43ef16a013019fa57f581316005df863ee Mon Sep 17 00:00:00 2001 From: GoldenAnpu Date: Tue, 13 Aug 2024 19:30:00 +0200 Subject: [PATCH] FIx arg for init WorkflowSettings --- src/workflow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/workflow.py b/src/workflow.py index 7ec2dd2..c06b7fc 100644 --- a/src/workflow.py +++ b/src/workflow.py @@ -17,8 +17,8 @@ def workflow_output(api: sly.Api, file: Union[int, sly.api.file_api.FileInfo]): relation_settings = sly.WorkflowSettings( title=file.name, icon="archive", - color="#33c94c", - background_color="#d9f7e4", + icon_color="#33c94c", + icon_bg_color="#d9f7e4", url=f"/files/{file.id}/true/?teamId={file.team_id}", url_title="Download", )