Convert extension to lowercase.

This commit is contained in:
Jose Caraballo 2025-01-27 15:28:18 +01:00
parent 90e3296bea
commit b15ead3c84

View file

@ -196,11 +196,11 @@ class ExtractReview(pyblish.api.InstancePlugin):
).format(repre_name))
continue
input_ext = repre["ext"]
input_ext = repre["ext"].lower()
if input_ext.startswith("."):
input_ext = input_ext[1:]
if input_ext.lower() not in self.supported_exts:
if input_ext not in self.supported_exts:
self.log.info(
"Representation has unsupported extension \"{}\"".format(
input_ext