From 07a9ad5b9492d70bc3be43821a251f2d892a6ece Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Fri, 6 Aug 2010 21:17:52 +0000 Subject: [PATCH] actiontype nothing --- play-sound-status.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/play-sound-status.py b/play-sound-status.py index cbb6321..77abfd6 100755 --- a/play-sound-status.py +++ b/play-sound-status.py @@ -197,6 +197,8 @@ def executeAction(action_name, args=[]): return runRemoteCommand(uwscfg.getValue(action_name+"_remote_host"), uwscfg.getValue(action_name+"_remote_shell"), args) elif action_type == "shellcmd": return runShellCommand(cmd=uwscfg.getValue(action_name+"_cmd"), ptimeout=uwscfg.getValue(action_name+"_timeout"), stdinput=uwscfg.getValue(action_name+"_stdinput"), args=args) + elif action_type == "nothing": + return True else: return executeAction(action_type,args) -- 1.7.10.4