mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-06-01 01:39:32 +00:00
Client: Update execute command
This commit is contained in:
@@ -258,8 +258,10 @@ def configure_bashrc(hostname):
|
||||
@messaging.message_callback("execute")
|
||||
def _execute(*args, **kwargs):
|
||||
command = kwargs.get("command", None)
|
||||
if command:
|
||||
if command is not None:
|
||||
logger.info("Executing command: {}".format(command))
|
||||
execute_command(command)
|
||||
logger.info("Executing done")
|
||||
|
||||
@messaging.message_callback("id")
|
||||
def _response_id(*args, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user