mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Error out on KeyError if subset is not in data, because it is required
This commit is contained in:
parent
6c4887a64d
commit
43bb754f42
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ class SubmitDependentImageSequenceJobDeadline(pyblish.api.InstancePlugin):
|
||||||
raise RuntimeError("Can't continue without valid deadline "
|
raise RuntimeError("Can't continue without valid deadline "
|
||||||
"submission prior to this plug-in.")
|
"submission prior to this plug-in.")
|
||||||
|
|
||||||
subset = instance.data.get("subset")
|
subset = instance.data["subset"]
|
||||||
state = instance.data.get("publishJobState", "Suspended")
|
state = instance.data.get("publishJobState", "Suspended")
|
||||||
job_name = "{batch} - {subset} [publish image sequence]".format(
|
job_name = "{batch} - {subset} [publish image sequence]".format(
|
||||||
batch=job["Props"]["Name"],
|
batch=job["Props"]["Name"],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue