From 69d0b8dd767b079da3de0e558e88d681779190e5 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Tue, 28 Apr 2020 18:47:20 +0200 Subject: [PATCH] added quotation marks where paths are used --- pype/scripts/otio_burnin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pype/scripts/otio_burnin.py b/pype/scripts/otio_burnin.py index d1291184ae..a75df25255 100644 --- a/pype/scripts/otio_burnin.py +++ b/pype/scripts/otio_burnin.py @@ -20,7 +20,7 @@ FFMPEG = ( ).format(ffmpeg_path) FFPROBE = ( - '{} -v quiet -print_format json -show_format -show_streams %(source)s' + '{} -v quiet -print_format json -show_format -show_streams "%(source)s"' ).format(ffprobe_path) DRAWTEXT = ( @@ -55,7 +55,7 @@ def _streams(source): def get_fps(str_value): if str_value == "0/0": - print("Source has \"r_frame_rate\" value set to \"0/0\".") + log.warning("Source has \"r_frame_rate\" value set to \"0/0\".") return "Unknown" items = str_value.split("/") @@ -266,7 +266,7 @@ class ModifiedBurnins(ffmpeg_burnins.Burnins): :returns: completed command :rtype: str """ - output = output or '' + output = '"{}"'.format(output or '') if overwrite: output = '-y {}'.format(output)