X-Git-Url: https://git.ralfj.de/saartuer.git/blobdiff_plain/8fa0d3c2b93ded551a61f48e2c8701e5f2370b76..56645e3cebe9fd8a49c60d1e7969fe6754625dfd:/statemachine.py 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):