Update espeak.py

This commit is contained in:
chrys87 2016-12-14 10:01:33 +01:00 committed by GitHub
parent f02ba7910e
commit b4f1c0605a

View File

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