remove useless tts pipe listener
This commit is contained in:
parent
49cf68ab63
commit
148864587b
|
@ -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'),
|
||||||
|
|
Loading…
Reference in New Issue