fix(standalone): fixing space in path for thumbnailer

This commit is contained in:
Jakub Jezek 2020-10-01 17:05:34 +02:00
parent 945a6d88b9
commit 2a14a586c8
No known key found for this signature in database
GPG key ID: C4B96E101D2A47F3

View file

@ -64,6 +64,7 @@ class ExtractThumbnailSP(pyblish.api.InstancePlugin):
else:
# Convert to jpeg if not yet
full_input_path = os.path.join(thumbnail_repre["stagingDir"], file)
full_input_path = '"{}"'.format(full_input_path)
self.log.info("input {}".format(full_input_path))
full_thumbnail_path = tempfile.mkstemp(suffix=".jpg")[1]