Fixed bug calling settings

This commit is contained in:
2013-07-10 11:14:45 +10:00
parent 493fc5cb8d
commit e52c4a8137

View File

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