Apply suggestion from @iLLiCiTiT

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Ondřej Samohel 2025-10-17 14:12:58 +02:00 committed by GitHub
parent df8459bbab
commit 34594f7ee4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -88,7 +88,7 @@ class CollectResourcesPath(pyblish.api.InstancePlugin):
task_type = task_entity["taskType"]
template_name = get_publish_template_name(
project_name=template_data["project"]["name"],
project_name=instance.context.data["projectName"],
host_name=instance.context.data["hostName"],
product_type=instance.data["productType"],
task_name=task_name,