mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
OP-4196 - fix wrong return type
This commit is contained in:
parent
ab17acddc7
commit
3cd241d2db
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ class IntegrateSlackAPI(pyblish.api.InstancePlugin):
|
|||
fill_pairs.append(("review_filepath", review_path))
|
||||
|
||||
task_data = (
|
||||
copy.deepcopy(instance.data.get("anatomyData", [])).get("task")
|
||||
copy.deepcopy(instance.data.get("anatomyData", {})).get("task")
|
||||
or fill_data.get("task")
|
||||
)
|
||||
if not isinstance(task_data, dict):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue