mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
do not put ffmpeg path to quotes for is_tool check
This commit is contained in:
parent
453c4e6a12
commit
53ac2e5098
1 changed files with 1 additions and 1 deletions
|
|
@ -29,6 +29,6 @@ class ValidateFFmpegInstalled(pyblish.api.ContextPlugin):
|
||||||
def process(self, context):
|
def process(self, context):
|
||||||
ffmpeg_path = pype.lib.get_ffmpeg_tool_path("ffmpeg")
|
ffmpeg_path = pype.lib.get_ffmpeg_tool_path("ffmpeg")
|
||||||
self.log.info("ffmpeg path: `{}`".format(ffmpeg_path))
|
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")
|
self.log.error("ffmpeg not found in PATH")
|
||||||
raise RuntimeError('ffmpeg not installed.')
|
raise RuntimeError('ffmpeg not installed.')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue