Reversed expected variables to the correct position.

This commit is contained in:
Wessie 2013-12-19 01:22:27 +01:00
parent 29029238fc
commit 292ddf029d

View file

@ -26,8 +26,7 @@ class FileRecognizer(BaseRecognizer):
super(FileRecognizer, self).__init__(dejavu)
def recognize_file(self, filename):
Fs, frames = decoder.read(filename)
self.Fs = Fs
frames, self.Fs = decoder.read(filename)
t = time.time()
match = self._recognize(*frames)