Fix path bug.

This commit is contained in:
Allan Ihsan 2022-06-06 12:12:30 +03:00
parent b3098a4a1e
commit a922b93202

View file

@ -159,9 +159,8 @@ class ExtractThumbnail(pyblish.api.InstancePlugin):
# we just want one frame from movie files
jpeg_items.append("-vframes 1")
# output file
jpeg_items.append(path_to_subprocess_arg(src_path))
jpeg_items.append(path_to_subprocess_arg(dst_path))
subprocess_command = " ".join(jpeg_items)
run_subprocess(
subprocess_command, shell=True, logger=self.log
)