From c7774bf8752d8825067cee013113fba06e777486 Mon Sep 17 00:00:00 2001 From: realraum Date: Mon, 27 Sep 2010 21:23:26 +0000 Subject: [PATCH] switch off, again --- switch-power.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/switch-power.py b/switch-power.py index 2af257c..b3dbfab 100755 --- a/switch-power.py +++ b/switch-power.py @@ -210,6 +210,11 @@ def eventNobodyHere(): for id in present_ids.split(" "): time.sleep(0.2) switchPower(id,False) + present_ids.reverse() + time.sleep(4) + for id in present_ids.split(" "): + time.sleep(0.3) + switchPower(id,False) ##def eventPanic(): ## logging.info("eventPanic(): switching around: "+uwscfg.slug_ids_panic) -- 1.7.10.4