mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
OP-4361 - fix wrong usage of regex
This commit is contained in:
parent
a9249c1b75
commit
9a503fce6a
1 changed files with 2 additions and 2 deletions
|
|
@ -92,8 +92,8 @@ class RenderCreator(Creator):
|
|||
data["composition_name"] = composition_name
|
||||
else:
|
||||
subset_name = subset_name_from_ui
|
||||
re.sub(subset_name, r"{composition}", '',
|
||||
flags=re.IGNORECASE)
|
||||
subset_name = re.sub(r"\{composition\}", '', subset_name,
|
||||
flags=re.IGNORECASE)
|
||||
|
||||
for inst in self.create_context.instances:
|
||||
if subset_name == inst.subset_name:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue