thumbnail path was collected wrong if jpeg was input

This commit is contained in:
Milan 2020-11-10 16:57:02 +00:00
parent 453c4e6a12
commit c018299d32

View file

@ -56,7 +56,9 @@ class ExtractThumbnailSP(pyblish.api.InstancePlugin):
elif is_jpeg:
# use first frame as thumbnail if is sequence of jpegs
full_thumbnail_path = file
full_thumbnail_path = os.path.join(
thumbnail_repre["stagingDir"], file
)
self.log.info(
"For thumbnail is used file: {}".format(full_thumbnail_path)
)