mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fixed default filter and list handling
This commit is contained in:
parent
6d63abc513
commit
052392ac35
2 changed files with 3 additions and 3 deletions
|
|
@ -108,7 +108,7 @@ class ProcessSubmittedJobOnFarm(pyblish.api.InstancePlugin):
|
|||
families = ["render.farm", "prerender.farm",
|
||||
"renderlayer", "imagesequence", "vrayscene"]
|
||||
|
||||
aov_filter = {"maya": [r".*(?:[\._-])*([Bb]eauty)(?:[\.|_])*.*"],
|
||||
aov_filter = {"maya": [r".*([Bb]eauty).*"],
|
||||
"aftereffects": [r".*"], # for everything from AE
|
||||
"harmony": [r".*"], # for everything from AE
|
||||
"celaction": [r".*"]}
|
||||
|
|
@ -130,7 +130,7 @@ class ProcessSubmittedJobOnFarm(pyblish.api.InstancePlugin):
|
|||
"OPENPYPE_PUBLISH_JOB"
|
||||
]
|
||||
|
||||
# custom deadline atributes
|
||||
# custom deadline attributes
|
||||
deadline_department = ""
|
||||
deadline_pool = ""
|
||||
deadline_pool_secondary = ""
|
||||
|
|
|
|||
|
|
@ -21,4 +21,4 @@ def match_aov_pattern(host_name, aov_patterns, render_file_name):
|
|||
aov_pattern = aov_patterns.get(host_name, [])
|
||||
if not aov_pattern:
|
||||
return False
|
||||
return re.match(aov_pattern, render_file_name) is not None
|
||||
return any(re.match(p, render_file_name) for p in aov_pattern)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue