mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -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)
|
command.append(newfilePath)
|
||||||
|
|
||||||
Logger.debug("Transcoding video %s to %s", filePath, newfilePath)
|
Logger.debug("Transcoding video %s to %s", filePath, newfilePath)
|
||||||
|
result = 1 # set result to failed in case call fails.
|
||||||
try:
|
try:
|
||||||
result = call(command)
|
result = call(command)
|
||||||
except e:
|
except e:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue