global: removing redundant check

This commit is contained in:
Jakub Jezek 2022-07-21 12:30:11 +02:00
parent 5d49d9c3d2
commit 7c30798bec
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -20,7 +20,7 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
order = pyblish.api.ExtractorOrder
families = [
"imagesequence", "render", "render2d", "prerender",
"source", "plate", "take", "review"
"source", "clip", "take"
]
hosts = ["shell", "fusion", "resolve", "traypublisher"]
enabled = False
@ -29,13 +29,6 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
ffmpeg_args = None
def process(self, instance):
# make sure this apply only to reveiw in both family keys
# HACK: only traypublisher review family is allowed
if (
instance.data["family"] != "review"
and "review" in instance.data["families"]
):
return
self.log.info("subset {}".format(instance.data['subset']))