mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fixes parameter name for readability
This commit is contained in:
parent
67f5f69f00
commit
2d038efde5
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
import re
|
||||
|
||||
|
||||
def match_aov_pattern(app, aov_patterns, render_file_name):
|
||||
def match_aov_pattern(host_name, aov_patterns, render_file_name):
|
||||
"""Matching against a `AOV` pattern in the render files.
|
||||
|
||||
In order to match the AOV name we must compare
|
||||
|
|
@ -18,7 +18,7 @@ def match_aov_pattern(app, aov_patterns, render_file_name):
|
|||
Returns:
|
||||
bool: Review state for rendered file (render_file_name).
|
||||
"""
|
||||
aov_pattern = aov_patterns.get(app, [])
|
||||
aov_pattern = aov_patterns.get(host_name, [])
|
||||
if aov_pattern:
|
||||
if re.match(aov_pattern, render_file_name):
|
||||
preview = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue