Skip to content

Commit

Permalink
Merge pull request #933 from ReeceMulley/bugfix/fix_pushing_tasktype_…
Browse files Browse the repository at this point in the history
…naming

Push to Library Project taskType naming bugfix
  • Loading branch information
iLLiCiTiT authored Oct 3, 2024
2 parents a834e2c + bc64e1c commit 6913818
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/ayon_core/tools/push_to_project/models/integrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ def _fill_or_create_destination_folder(self):
task_info = copy.deepcopy(task_info)
task_info["name"] = dst_task_name
# Fill rest of task information based on task type
task_type_name = task_info["type"]
task_type_name = task_info["taskType"]
task_types_by_name = {
task_type["name"]: task_type
for task_type in self._project_entity["taskTypes"]
Expand Down Expand Up @@ -821,7 +821,7 @@ def _determine_product_name(self):
task_name = task_type = None
if task_info:
task_name = task_info["name"]
task_type = task_info["type"]
task_type = task_info["taskType"]

product_name = get_product_name(
self._item.dst_project_name,
Expand Down Expand Up @@ -905,7 +905,7 @@ def _make_sure_version_exists(self):
project_name,
self.host_name,
task_name=self._task_info["name"],
task_type=self._task_info["type"],
task_type=self._task_info["taskType"],
product_type=product_type,
product_name=product_entity["name"]
)
Expand Down Expand Up @@ -959,7 +959,7 @@ def _real_integrate_representations(self):
formatting_data = get_template_data(
self._project_entity,
self._folder_entity,
self._task_info.get("name"),
self._task_info,
self.host_name
)
formatting_data.update({
Expand Down

0 comments on commit 6913818

Please sign in to comment.