From: Bernhard Tittelbach Date: Fri, 6 Aug 2010 21:17:52 +0000 (+0000) Subject: actiontype nothing X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=07a9ad5b9492d70bc3be43821a251f2d892a6ece;p=svn42.git actiontype nothing --- 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)