From 3d914c704adfc004c363b9ced65c7631ab1b2508 Mon Sep 17 00:00:00 2001 From: Shane Frischkorn Date: Sat, 13 Jul 2013 21:09:14 +1000 Subject: [PATCH] Fixing renamed properties --- TVEncoder.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/TVEncoder.py b/TVEncoder.py index 1f74f07..593c3b7 100644 --- a/TVEncoder.py +++ b/TVEncoder.py @@ -106,16 +106,16 @@ def main(argv): showdata = filemanager.getencodingfiles(inputoptions.readonly) for show in showdata: - if filemanager.checkfileexists(show.outputFile): + if filemanager.checkfileexists(show.outputfile): print "File {0} already exists. Cannot process." \ - .format(show.outputFile) + .format(show.outputfile) else: result = libhandbrake.encode(settings.handbrakecommand(), - show.inputFile, - show.outputFile) + show.inputfile, + show.outputfile) # TODO do something with the result filemanager.performpostencodefileoperations( - show.inputFile, show.outputFile) + show.inputfile, show.outputfile) else: # Process files for encoding shows = filemanager.getfilestoprepare(inputoptions.numfiles)