Update speechDriver.py
This commit is contained in:
parent
d52ec5fac5
commit
d4b0525e06
@ -34,7 +34,9 @@ class speechDriver():
|
|||||||
return
|
return
|
||||||
|
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
if not callback
|
if not self._isInitialized:
|
||||||
|
return
|
||||||
|
if not callback:
|
||||||
return
|
return
|
||||||
|
|
||||||
def clear_buffer(self):
|
def clear_buffer(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user