mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
set initial result status.
This commit is contained in:
parent
5d3dcd0e7e
commit
ec06f4b576
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue