soxi: remove self._path unused variable, mark dep as 'soxi' (#89)

This commit is contained in:
Samantha Baldwin
2016-12-15 17:05:14 -05:00
committed by JoeLametta
parent d455b77e8a
commit ee9a58fcbb

View File

@@ -21,16 +21,15 @@ class AudioLengthTask(ctask.PopenTask, log.Loggable):
"""
assert type(path) is unicode, "%r is not unicode" % path
self._path = path
self.logName = os.path.basename(path).encode('utf-8')
self.command = [SOXI, '-s', self._path]
self.command = [SOXI, '-s', path]
self._error = []
self._output = []
def commandMissing(self):
raise common.MissingDependencyException('sox')
raise common.MissingDependencyException('soxi')
def readbytesout(self, bytes):
self._output.append(bytes)