mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
reversing order for underscored first
This commit is contained in:
parent
6e7cde73be
commit
d045b83223
1 changed files with 3 additions and 3 deletions
|
|
@ -365,12 +365,12 @@ def parse_colorspace_from_filepath(
|
|||
match = regex_pattern.search(filepath)
|
||||
colorspace = match.group(0) if match else None
|
||||
|
||||
if colorspace:
|
||||
return colorspace
|
||||
|
||||
if colorspace in underscored_colorspaces:
|
||||
return underscored_colorspaces[colorspace]
|
||||
|
||||
if colorspace:
|
||||
return colorspace
|
||||
|
||||
log.info("No matching colorspace in config '{}' for path: '{}'".format(
|
||||
config_path, filepath
|
||||
))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue