test
All checks were successful
Deploy powerbar.ti Frontend Portal / Deploy-Tinance2-Frontend-Portal-Production (push) Successful in 36s
All checks were successful
Deploy powerbar.ti Frontend Portal / Deploy-Tinance2-Frontend-Portal-Production (push) Successful in 36s
This commit is contained in:
parent
1821a5d53f
commit
16c6447aee
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@ def run_telnet_command(powerbar, command):
|
|||
try:
|
||||
tn = get_telnet_connection(powerbar)
|
||||
tn.write(f"{command}\r\n".encode('ascii'))
|
||||
time.sleep(1)
|
||||
tn.write(f"{command}\r\n".encode('ascii'))
|
||||
tn.close()
|
||||
return True
|
||||
except Exception as e:
|
||||
|
|
Loading…
Reference in a new issue