fixed bug calling non-existant logger

This commit is contained in:
2013-07-10 11:16:15 +10:00
parent e52c4a8137
commit 745591cb8b

View File

@@ -27,7 +27,9 @@ class Encoder:
self.handbrakeCommand[3] = input self.handbrakeCommand[3] = input
self.handbrakeCommand[5] = output self.handbrakeCommand[5] = output
if logger:
logger.debug("Handbrake command is: {0}".format(self.handbrakeCommand)) logger.debug("Handbrake command is: {0}".format(self.handbrakeCommand))
process = subprocess.Popen(self.handbrakeCommand) process = subprocess.Popen(self.handbrakeCommand)
if waitForCompletion: if waitForCompletion: