mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Update openpype/hosts/nuke/api/lib.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
4af2ddaf49
commit
ecbf263feb
1 changed files with 1 additions and 1 deletions
|
|
@ -2212,7 +2212,7 @@ Reopening Nuke should synchronize these paths and resolve any discrepancies.
|
|||
|
||||
# use regex to find env var in template with format {ENV_VAR}
|
||||
# this way we make sure only template used env vars are included
|
||||
env_var_regex = r"\{([A-Z_]+)\}"
|
||||
env_var_regex = r"\{([A-Z0-9_]+)\}"
|
||||
env_var = re.findall(env_var_regex, config_template)
|
||||
if env_var:
|
||||
included_vars.append(env_var[0])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue