From 31b60f5a390e4230cd2f5ddc577e5bc2cbb0d8c0 Mon Sep 17 00:00:00 2001 From: chrys Date: Mon, 16 Jan 2017 23:48:32 +0100 Subject: [PATCH] connect as soon as speech-dispatcher is available --- src/fenrir/speechDriver/speechd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrir/speechDriver/speechd.py b/src/fenrir/speechDriver/speechd.py index 0d1d06e7..f6b68fc9 100644 --- a/src/fenrir/speechDriver/speechd.py +++ b/src/fenrir/speechDriver/speechd.py @@ -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: