From b4f1c0605a8eb089ca195be9d0d8f66d83a993bc Mon Sep 17 00:00:00 2001 From: chrys87 Date: Wed, 14 Dec 2016 10:01:33 +0100 Subject: [PATCH] Update espeak.py --- src/fenrir/speechDriver/espeak.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fenrir/speechDriver/espeak.py b/src/fenrir/speechDriver/espeak.py index b9457852..71f933a7 100644 --- a/src/fenrir/speechDriver/espeak.py +++ b/src/fenrir/speechDriver/espeak.py @@ -25,10 +25,10 @@ class driver(): def shutdown(self): pass - def speak(self,text, queueable=True): + def speak(self,text, interrupt=True): if not self._isInitialized: return False - if not queueable: + if not interrupt: self.cancel() self._es.synth(text) return True