From: Ralf Jung Date: Wed, 2 Apr 2014 17:30:16 +0000 (+0200) Subject: buzz twice to give users more time X-Git-Url: https://git.ralfj.de/saartuer.git/commitdiff_plain/56645e3cebe9fd8a49c60d1e7969fe6754625dfd?ds=sidebyside buzz twice to give users more time --- 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):