remove useless tts pipe listener

This commit is contained in:
petrucci4prez 2017-05-30 01:03:07 -04:00
parent 49cf68ab63
commit 148864587b
1 changed files with 1 additions and 9 deletions

View File

@ -173,14 +173,6 @@ class StateMachine:
path = '/tmp/secret' path = '/tmp/secret'
) )
def ttsCallback(text, logger):
self.soundLib.speak(text)
logger.debug('TTS pipe listener received text: \"%s\"', text)
self.ttsListener = PipeListener(
callback = ttsCallback,
path = '/tmp/tts'
)
self.keypadListener = KeypadListener( self.keypadListener = KeypadListener(
stateMachine = self, stateMachine = self,
callbackDisarm = partial(self.selectState, 'disarm'), callbackDisarm = partial(self.selectState, 'disarm'),