actiontype nothing
authorBernhard Tittelbach <xro@realraum.at>
Fri, 6 Aug 2010 21:17:52 +0000 (21:17 +0000)
committerBernhard Tittelbach <xro@realraum.at>
Fri, 6 Aug 2010 21:17:52 +0000 (21:17 +0000)
play-sound-status.py

index cbb6321..77abfd6 100755 (executable)
@@ -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)