diff --git a/clientBlaster.py b/clientBlaster.py index c667cf7..2cf6c81 100644 --- a/clientBlaster.py +++ b/clientBlaster.py @@ -234,7 +234,12 @@ class connectionThreadIn(threading.Thread): return ["error","nonfatal","command_not_found"] command = commands[cmd[0]] rtn = command["function"](self,cmd) - time.sleep(pauseBetweenCommands) + + sleep = pauseBetweenCommands + if "sleep" in command: + sleep = command["sleep"] + if sleep > 0: time.sleep(sleep) + return rtn def run(self):