set initial result status.

This commit is contained in:
Clinton Hall 2013-03-08 19:38:54 -08:00
commit ec06f4b576

View file

@ -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: