From e4d7b6db4e6db06ed4acb2bfd2ea350d27f77e43 Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Mon, 11 Mar 2013 22:35:40 -0700 Subject: [PATCH] fix --- Transcoder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Transcoder.py b/Transcoder.py index 3e78babe..38c4af36 100644 --- a/Transcoder.py +++ b/Transcoder.py @@ -14,9 +14,9 @@ def Transcode_file(filePath): Logger.error("ffmpeg not found. ffmpeg needs to be located at: %s", ffmpeg) Logger.info("Cannot transcode file %s", filepath) return 1 # failure - else + else: if call(['which', ffmpeg]): - res = call([os.path,join(os.path.dirname(sys.argv[0]),getffmpeg.sh')]) + 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. Logger.error("Failed to install ffmpeg. Please install manually") Logger.info("Cannot transcode file %s", filepath)