mirror of
https://github.com/correl/dejavu.git
synced 2024-11-23 19:19:53 +00:00
Reversed expected variables to the correct position.
This commit is contained in:
parent
29029238fc
commit
292ddf029d
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue