mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
OP-4643 - refactor - changed existence check
This commit is contained in:
parent
984974d7e0
commit
51c54e1aa1
1 changed files with 2 additions and 2 deletions
|
|
@ -161,12 +161,12 @@ class ExtractOIIOTranscode(publish.Extractor):
|
|||
|
||||
custom_tags = output_def.get("custom_tags")
|
||||
if custom_tags:
|
||||
if not new_repre.get("custom_tags"):
|
||||
if new_repre.get("custom_tags") is None:
|
||||
new_repre["custom_tags"] = []
|
||||
new_repre["custom_tags"].extend(custom_tags)
|
||||
|
||||
# Add additional tags from output definition to representation
|
||||
if not new_repre.get("tags"):
|
||||
if new_repre.get("tags") is None:
|
||||
new_repre["tags"] = []
|
||||
for tag in output_def["tags"]:
|
||||
if tag not in new_repre["tags"]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue