do not put ffmpeg path to quotes for is_tool check

This commit is contained in:
iLLiCiTiT 2020-11-10 14:21:15 +01:00
parent 453c4e6a12
commit 53ac2e5098

View file

@ -29,6 +29,6 @@ class ValidateFFmpegInstalled(pyblish.api.ContextPlugin):
def process(self, context):
ffmpeg_path = pype.lib.get_ffmpeg_tool_path("ffmpeg")
self.log.info("ffmpeg path: `{}`".format(ffmpeg_path))
if self.is_tool("\"{}\"".format(ffmpeg_path)) is False:
if self.is_tool("{}".format(ffmpeg_path)) is False:
self.log.error("ffmpeg not found in PATH")
raise RuntimeError('ffmpeg not installed.')