Merge pull request #1890 from pypeclub/bugfix/integrate_new_template_name

This commit is contained in:
Jakub Ježek 2021-08-02 11:29:01 +02:00 committed by GitHub
commit e920a6f198
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -303,6 +303,8 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
key_values = {"families": family, "tasks": task_name}
profile = filter_profiles(self.template_name_profiles, key_values,
logger=self.log)
template_name = "publish"
if profile:
template_name = profile["template_name"]