mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
include the '.' in the regex
This commit is contained in:
parent
be668ac27a
commit
c16013beec
1 changed files with 3 additions and 3 deletions
|
|
@ -159,12 +159,12 @@ class SubmitDependentImageSequenceJobDeadline(pyblish.api.InstancePlugin):
|
|||
# This assumes the output files start with subset name and ends with
|
||||
# a file extension.
|
||||
if "ext" in instance.data:
|
||||
ext = re.escape(instance.data["ext"])
|
||||
ext = instance.data["ext"].strip(".")
|
||||
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=re.escape(ext))
|
||||
|
||||
# Remove deadline submission job, not needed in metadata
|
||||
data.pop("deadlineSubmissionJob")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue