From 292ddf029d5017477cfcc0574cd4e47e355109a8 Mon Sep 17 00:00:00 2001 From: Wessie Date: Thu, 19 Dec 2013 01:22:27 +0100 Subject: [PATCH] Reversed expected variables to the correct position. --- dejavu/recognize.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dejavu/recognize.py b/dejavu/recognize.py index a723197..ec9e824 100755 --- a/dejavu/recognize.py +++ b/dejavu/recognize.py @@ -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)