#2781 - Correcting terminal tests and fixing a typo in base.py

This commit is contained in:
Charlie Crane
2024-08-07 11:58:17 +01:00
parent 1802648436
commit 9fea34bb43
3 changed files with 17 additions and 18 deletions

View File

@@ -456,7 +456,6 @@ class Terminal(Service):
self.sys_log.info("Received command to execute")
command = payload.ssh_command
valid_connection = self._check_client_connection(payload.connection_uuid)
self.sys_log.info(f"Connection uuid is {valid_connection}")
if valid_connection:
return self.execute(command, payload.connection_uuid)
else: