Remove stdin sending from command_watcher

Reasons:
* It's unused in our program
* It can be a start to security vulnerabilities.
  I've seen many routes add commands to `Commands` without validation.
This commit is contained in:
luukas 2022-05-25 17:44:09 +03:00
parent ca450f21ed
commit 3956d9c699
No known key found for this signature in database
GPG Key ID: CC4915E8D71FC044

View File

@ -121,8 +121,6 @@ class TasksManager:
elif command == "update_executable":
svr.jar_update()
else:
svr.send_command(command)
HelpersManagement.mark_command_complete(cmd.command_id)
time.sleep(1)