diff --git a/app/utils.py b/app/utils.py index d9f4558..165c7a8 100644 --- a/app/utils.py +++ b/app/utils.py @@ -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: