Update openpype/pipeline/colorspace.py

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
This commit is contained in:
Jakub Ježek 2023-08-30 17:04:24 +02:00 committed by GitHub
parent 3928e26c45
commit 7db4be1a48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,7 +156,7 @@ def get_imageio_colorspace_from_filepath(
# match file rule from path
colorspace_name = None
for _, file_rule in file_rules.items():
for file_rule in file_rules.values():
pattern = file_rule["pattern"]
extension = file_rule["ext"]
ext_match = re.match(