From 0644bed139c320b03b54f1e5a4fecadc96fa67c8 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 7 Dec 2013 10:55:56 +0100 Subject: [PATCH 1/1] Wait a bit more before starting to complain --- statemachine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statemachine.py b/statemachine.py index 4fccee4..0fa485a 100644 --- a/statemachine.py +++ b/statemachine.py @@ -39,7 +39,7 @@ FALLBACK_LEAVE_DELAY_LOCK = 5 # seconds # StateAboutToOpen constants SWITCH_PRAISE_PROBABILITY = 0.5 -ABOUTOPEN_NERVLIST = nervlist_abs2rel([(5, lambda : play_sound("flipswitch")), (10, lambda:play_sound("flipswitch")),\ +ABOUTOPEN_NERVLIST = nervlist_abs2rel([(10, lambda:play_sound("flipswitch")),\ (20, lambda:play_sound("flipswitch")), (30, lambda:play_sound("flipswitch")), (30, lambda:logger.error("Space open but switch not flipped for 30 seconds")),\ (40, lambda:play_sound("flipswitch")), (50, lambda:play_sound("flipswitch")), (60, lambda:play_sound("mail_sent")), (60, lambda:logger.critical("Space open but switch not flipped for 60 seconds")), (120, lambda:play_sound("mail_sent")), -- 2.30.2