fixed bug calling non-existant logger
This commit is contained in:
parent
e52c4a8137
commit
745591cb8b
1 changed files with 3 additions and 1 deletions
|
|
@ -27,7 +27,9 @@ class Encoder:
|
||||||
self.handbrakeCommand[3] = input
|
self.handbrakeCommand[3] = input
|
||||||
self.handbrakeCommand[5] = output
|
self.handbrakeCommand[5] = output
|
||||||
|
|
||||||
logger.debug("Handbrake command is: {0}".format(self.handbrakeCommand))
|
if logger:
|
||||||
|
logger.debug("Handbrake command is: {0}".format(self.handbrakeCommand))
|
||||||
|
|
||||||
process = subprocess.Popen(self.handbrakeCommand)
|
process = subprocess.Popen(self.handbrakeCommand)
|
||||||
|
|
||||||
if waitForCompletion:
|
if waitForCompletion:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue