From b1918a4a8ab8e513b88ee41d8138bf6593359b2a Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Fri, 15 Nov 2019 02:39:27 -0500 Subject: [PATCH] fixed pixel_formats print bug and subprocess execution bug --- src/ffmpeg.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ffmpeg.py b/src/ffmpeg.py index 60e2a1b..5387bc7 100755 --- a/src/ffmpeg.py +++ b/src/ffmpeg.py @@ -4,7 +4,7 @@ Name: Video2X FFmpeg Controller Author: K4YT3X Date Created: Feb 24, 2018 -Last Modified: October 6, 2019 +Last Modified: November 15, 2019 Description: This class handles all FFmpeg related operations. """ @@ -67,7 +67,7 @@ class Ffmpeg: pass # print pixel formats for debugging - Avalon.debug_info(pixel_formats) + Avalon.debug_info(str(pixel_formats)) return pixel_formats @@ -284,4 +284,4 @@ class Ffmpeg: Avalon.debug_info(f'Executing: {execute}') - return subprocess.run(execute, shell=True, check=True).returncode + return subprocess.run(execute, check=True).returncode