From 5aced963e7d18a012318cc86c9df45e416c7b9bb Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Wed, 16 Sep 2020 19:03:18 -0600 Subject: [PATCH] bug fix --- cisco_wifi_ctl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cisco_wifi_ctl.py b/cisco_wifi_ctl.py index 1eed17f6..d26a32e8 100755 --- a/cisco_wifi_ctl.py +++ b/cisco_wifi_ctl.py @@ -327,7 +327,7 @@ def main(): while logged_in_9800 == False and loop_count <= 2: #egg.sendline(CR) try: - i = egg.expect_exact([">","#","ssword\:",pexpect.TIMEOUT],timeout=2) + i = egg.expect_exact([">","#","ssword:",pexpect.TIMEOUT],timeout=2) except pexpect.EOF as e: print('connection failed. or refused') exit(1)