celaction: render from published workfile fix

This commit is contained in:
Jakub Jezek 2022-11-25 17:04:19 +01:00
parent a4e6f67692
commit 30550c26b0
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -82,7 +82,7 @@ class CelactionSubmitDeadline(pyblish.api.InstancePlugin):
script_name = os.path.basename(script_path)
for item in instance.context:
if "workfile" in item.data["families"]:
if "workfile" in item.data["family"]:
msg = "Workfile (scene) must be published along"
assert item.data["publish"] is True, msg