Fixed bug calling settings
This commit is contained in:
parent
493fc5cb8d
commit
e52c4a8137
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ def main(argv):
|
||||||
if fileManager.CheckFileExists(show.outputFile):
|
if fileManager.CheckFileExists(show.outputFile):
|
||||||
print "File {0} already exists. Cannot process.".format(show.outputFile)
|
print "File {0} already exists. Cannot process.".format(show.outputFile)
|
||||||
else:
|
else:
|
||||||
encoder = Encoder(settings.HandbrakeCommand)
|
encoder = Encoder(settings.HandbrakeCommand())
|
||||||
result = encoder.Encode(show.inputFile, show.outputFile)
|
result = encoder.Encode(show.inputFile, show.outputFile)
|
||||||
|
|
||||||
fileManager.PerformPostEncodeFileOperations(show.inputFile, show.outputFile)
|
fileManager.PerformPostEncodeFileOperations(show.inputFile, show.outputFile)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue