AY-4801-updated variable name

Old 'path' clashed in output of instance attributes in Publisher.
This commit is contained in:
Petr Kalis 2024-05-10 14:39:42 +02:00
parent a1d310fad0
commit b55ed2e786

View file

@ -27,7 +27,7 @@ class CollectEditorialPackage(pyblish.api.InstancePlugin):
families = ["editorial_pckg"]
def process(self, instance):
folder_path = instance.data["creator_attributes"].get("path")
folder_path = instance.data["creator_attributes"]["folder_path"]
if not folder_path or not os.path.exists(folder_path):
self.log.info((
"Instance doesn't contain collected existing folder path."