use ext.lower()

Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
This commit is contained in:
Mustafa Taher 2024-04-16 11:56:19 +02:00 committed by GitHub
parent 234b425a06
commit a3f9651de1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,7 +46,7 @@ class ExtractComposite(publish.Extractor,
"frameEnd": instance.data["frameEndHandle"],
}
if ext == "exr":
if ext.lower() == "exr":
# Inject colorspace with 'scene_linear' as that's the
# default Houdini working colorspace and all extracted
# OpenEXR images should be in that colorspace.