mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
commit
0b7d166b7c
1 changed files with 4 additions and 4 deletions
|
|
@ -155,14 +155,14 @@ class SubmitDependentImageSequenceJobDeadline(pyblish.api.InstancePlugin):
|
|||
|
||||
# Add in regex for sequence filename
|
||||
# This assumes the output files start with subset name and ends with
|
||||
# a file extension.
|
||||
# a file extension. The "ext" key includes the dot with the extension.
|
||||
if "ext" in instance.data:
|
||||
ext = instance.data["ext"].strip(".")
|
||||
ext = re.escape(instance.data["ext"])
|
||||
else:
|
||||
ext = "\.\D+"
|
||||
|
||||
regex = "^{subset}.*\d+\.{ext}$".format(subset=re.escape(subset),
|
||||
ext=re.escape(ext))
|
||||
regex = "^{subset}.*\d+{ext}$".format(subset=re.escape(subset),
|
||||
ext=ext)
|
||||
|
||||
# Remove deadline submission job, not needed in metadata
|
||||
data.pop("deadlineSubmissionJob")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue