From ec06f4b5765e9f60bd5dee0fc26540a499f561f6 Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Fri, 8 Mar 2013 19:38:54 -0800 Subject: [PATCH] set initial result status. --- Transcoder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Transcoder.py b/Transcoder.py index 7938549f..61651b7f 100644 --- a/Transcoder.py +++ b/Transcoder.py @@ -54,6 +54,7 @@ def Transcode_file(filePath): command.append(newfilePath) Logger.debug("Transcoding video %s to %s", filePath, newfilePath) + result = 1 # set result to failed in case call fails. try: result = call(command) except e: