From ec4bac1b154b8eed28506b26de7a6a03b296bac0 Mon Sep 17 00:00:00 2001 From: petrucci4prez Date: Thu, 8 Jun 2017 01:22:40 -0400 Subject: [PATCH] fix signals for these two functions --- stateMachine.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stateMachine.py b/stateMachine.py index 2add1f3..911e7f1 100644 --- a/stateMachine.py +++ b/stateMachine.py @@ -94,8 +94,8 @@ class StateMachine: self.keypadListener = KeypadListener( stateMachine = self, - callbackDisarm = partial(self.selectState, 'disarm'), - callbackArm = partial(self.selectState, 'arm'), + callbackDisarm = partial(self.selectState, SIGNALS.DISARM), + callbackArm = partial(self.selectState, SIGNALS.ARM), soundLib = self.soundLib, passwd = '5918462' )