From 56645e3cebe9fd8a49c60d1e7969fe6754625dfd Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 2 Apr 2014 19:30:16 +0200 Subject: [PATCH] buzz twice to give users more time --- statemachine.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/statemachine.py b/statemachine.py index cb1e4c8..a5e52f6 100644 --- a/statemachine.py +++ b/statemachine.py @@ -95,6 +95,8 @@ class StateMachine(): def handle_pins_event(self): pass # one needn't implement this def handle_buzz_event(self,arg): # this shouldn't be overwritten + # Buzz twice to give users more time to run ;-) + self.actor().act(Actor.CMD_BUZZ) self.actor().act(Actor.CMD_BUZZ) arg("200 okay: buzz executed") def handle_cmd_unlock_event(self,arg): -- 2.30.2