OP-4394 - removed explicit lower from repre ext to not shadow upper case issue

Using lower here would hide possibly broken representation, as we would expect both repre["ext"] and repre["name"] be lowercased. In case the aren't review won't get created >> someone will notice and fix issues on source representation.
This commit is contained in:
Petr Kalis 2022-11-18 12:54:50 +01:00
parent 4b95ad6816
commit 64e5af230a

View file

@ -152,7 +152,7 @@ class ExtractReview(pyblish.api.InstancePlugin):
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