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'
)
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(
stateMachine = self,
callbackDisarm = partial(self.selectState, 'disarm'),
@ -188,7 +180,7 @@ class StateMachine:
soundLib = self.soundLib,
passwd = '5918462'
)
initWebInterface(self)
self.currentState.entry()