From d69dd8450d911d234463099a4a6c8f3c7cadda59 Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Sun, 31 Mar 2013 17:35:06 -0700 Subject: [PATCH] more from #103 --- autoProcess/Transcoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoProcess/Transcoder.py b/autoProcess/Transcoder.py index a4619624..6dcd2496 100644 --- a/autoProcess/Transcoder.py +++ b/autoProcess/Transcoder.py @@ -17,7 +17,7 @@ def Transcode_directory(dirName): else: if call(['which', 'ffmpeg']) != 0: res = call([os.path.join(os.path.dirname(sys.argv[0]),'getffmpeg.sh')]) - if res or call(['which', 'ffmpeg']): # did not install or ffmpeg still not found. + if res or call(['which', 'ffmpeg']) != 0: # did not install or ffmpeg still not found. Logger.error("Failed to install ffmpeg. Please install manually") Logger.info("Cannot transcode files in folder %s", dirName) return 1 # failure