Update openpype/modules/kitsu/utils/update_op_with_zou.py

Co-authored-by: Félix David <felixg.david@gmail.com>
This commit is contained in:
Ember Light 2023-03-03 10:34:17 +01:00 committed by Milan Kolar
parent 7176be9f92
commit c50678bcb8

View file

@ -175,7 +175,12 @@ def update_op_assets(
elif item_type == "Shot":
tasks_list = gazu.task.all_tasks_for_shot(item)
item_data["tasks"] = {
t["task_type_name"]: {"type": t["task_type_name"], "zou": gazu.task.get_task(t["id"])}
item_data["tasks"] = {
t["task_type_name"]: {
"type": t["task_type_name"],
"zou": gazu.task.get_task(t["id"]),
}
}
for t in tasks_list
}