Skip to content

Commit

Permalink
Merge pull request #527 from ynput/bugfix/push-to-project-task-name-l…
Browse files Browse the repository at this point in the history
…owering

Push to Project: Fix task lowering
  • Loading branch information
iLLiCiTiT authored May 20, 2024
2 parents 009b211 + 71c63ab commit 02759f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/ayon_core/tools/push_to_project/models/integrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,6 @@ def _fill_or_create_destination_folder(self):
dst_project_name = self._item.dst_project_name
dst_folder_id = self._item.dst_folder_id
dst_task_name = self._item.dst_task_name
dst_task_name_low = dst_task_name.lower()
new_folder_name = self._item.new_folder_name
if not dst_folder_id and not new_folder_name:
self._status.set_failed(
Expand Down Expand Up @@ -765,7 +764,7 @@ def _fill_or_create_destination_folder(self):
dst_project_name, folder_ids=[folder_entity["id"]]
)
}
task_info = folder_tasks.get(dst_task_name_low)
task_info = folder_tasks.get(dst_task_name.lower())
if not task_info:
self._status.set_failed(
f"Could find task with name \"{dst_task_name}\""
Expand Down

0 comments on commit 02759f5

Please sign in to comment.