Merge pull request #460 from pypeclub/bugfix/allow-thumbnails-from-single-frame

Fix: allow thumbnail creation for single frame renders
This commit is contained in:
Milan Kolar 2020-08-21 16:30:48 +02:00 committed by GitHub
commit 8344cde729
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,10 +48,11 @@ class ExtractJpegEXR(pyblish.api.InstancePlugin):
continue
if not isinstance(repre['files'], (list, tuple)):
continue
input_file = repre['files']
else:
input_file = repre['files'][0]
stagingdir = os.path.normpath(repre.get("stagingDir"))
input_file = repre['files'][0]
# input_file = (
# collections[0].format('{head}{padding}{tail}') % start