test
All checks were successful
Deploy powerbar.ti Frontend Portal / Deploy-Tinance2-Frontend-Portal-Production (push) Successful in 36s

This commit is contained in:
Matthew Frost 2024-02-07 16:47:59 +01:00
parent 63e957a5a6
commit 3f191d08a8

View file

@ -24,8 +24,8 @@ def run_telnet_command(powerbar, command):
for _ in range(retries):
try:
check_input_error(tn)
tn = get_telnet_connection(powerbar)
check_input_error(tn)
tn.write(f"{command}\r\n".encode('ascii'))
tn.close()
return True