mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
remove leading and trailing whitespaces from vars
This commit is contained in:
parent
8f0b182759
commit
5b04af7ea1
1 changed files with 2 additions and 1 deletions
|
|
@ -777,7 +777,8 @@ def get_context_var_changes():
|
|||
# Set Houdini Vars
|
||||
for item in houdini_vars:
|
||||
# For consistency reasons we always force all vars to be uppercase
|
||||
var = item["var"].upper()
|
||||
# Also remove any leading, and trailing whitespaces.
|
||||
var = item["var"].strip().upper()
|
||||
|
||||
# get and resolve template in value
|
||||
item_value = StringTemplate.format_template(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue