connect as soon as speech-dispatcher is available

This commit is contained in:
chrys 2017-01-16 23:48:32 +01:00
parent 65b7b8d81a
commit 31b60f5a39

View File

@ -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: