Skip to content

Commit

Permalink
add missing comment and change value of 'builtin_tried'
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Oct 25, 2024
1 parent a2e2413 commit 6f0465e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/ayon_core/pipeline/colorspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -1709,10 +1709,11 @@ def resolve_colorspace_config_template(
custom_paths.append(profile["custom_path"])
continue

#
# Try to resolve builtin path (only once)
if profile_type != "builtin_path" or builtin_tried:
continue

builtin_tried = True
template = profile["builtin_path"]
try:
path = template.format(**os.environ)
Expand Down

0 comments on commit 6f0465e

Please sign in to comment.