mirror of
https://github.com/correl/dejavu.git
synced 2024-12-29 11:09:26 +00:00
Added missing 'self'
This commit is contained in:
parent
d25c564d4f
commit
788b3acebf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue