Add human operation time log

This commit is contained in:
BlankCheng
2024-01-29 21:42:16 +08:00
parent 460507b5c3
commit 284d6fb379
20 changed files with 958 additions and 76 deletions

View File

@@ -63,7 +63,8 @@ class PythonController:
Executes a python command on the server.
It can be used to execute the pyautogui commands, or... any other python command. who knows?
"""
command_list = ["python", "-c", self.pkgs_prefix.format(command=command)]
# command_list = ["python", "-c", self.pkgs_prefix.format(command=command)]
command_list = ["python3", "-c", self.pkgs_prefix.format(command=command)]
payload = json.dumps({"command": command_list, "shell": False})
headers = {
'Content-Type': 'application/json'