From 788b3acebfd202b23d15bf4a1f984d0b680897d7 Mon Sep 17 00:00:00 2001 From: Vin Date: Tue, 17 Dec 2013 22:03:50 +0000 Subject: [PATCH] Added missing 'self' --- dejavu/recognize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dejavu/recognize.py b/dejavu/recognize.py index 6cc1bd4..d743b16 100755 --- a/dejavu/recognize.py +++ b/dejavu/recognize.py @@ -108,7 +108,7 @@ class MicrophoneRecognizer(BaseRecognizer): def recognize_recording(self): if not self.recorded: raise NoRecordingError("Recording was not complete/begun") - return self._recognize(*data) + return self._recognize(*self.data) def get_recorded_time(self): return len(self.data[0]) / self.rate