connect as soon as speech-dispatcher is available
This commit is contained in:
parent
65b7b8d81a
commit
31b60f5a39
@ -27,12 +27,12 @@ class driver():
|
||||
def shutdown(self):
|
||||
if not self._isInitialized:
|
||||
return
|
||||
self._isInitialized = False
|
||||
self.cancel()
|
||||
try:
|
||||
self._sd.close()
|
||||
except:
|
||||
pass
|
||||
self._isInitialized = False
|
||||
|
||||
def speak(self,text, queueable=True):
|
||||
if not self._isInitialized:
|
||||
|
Loading…
Reference in New Issue
Block a user