def get_busy(self): return self.c.get_busy() or self._queue or (self.c.get_queue() != None) \ or tts.is_speaking()
def say(txt): tts.speak(unicode(txt)) while tts.is_speaking(): time.sleep(.01)
def update(self): if not self.c.get_busy() and not tts.is_speaking(): if self._queue: self._play_next_msg_part()
def get_busy(self): return (self.c.get_busy() or self._queue or (self.c.get_queue() is not None) or tts.is_speaking())
def update(self): if not self.c.get_busy() and not tts.is_speaking(): if self._queue: self._play_next_msg_part()
def get_busy(self): return self.c.get_busy() or self._queue or (self.c.get_queue() != None) \ or tts.is_speaking()
def say(txt): tts.speak(unicode(txt)) while tts.is_speaking(): time.sleep(.01)
def say(txt): tts.speak(txt) while tts.is_speaking(): time.sleep(0.01)