From c42a3c7f9d0704dbe1182ee56d3ca1beefeeaaed Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Thu, 24 Sep 2020 09:30:34 -0600 Subject: [PATCH] make exiting from prompts consistant --- cisco_wifi_ctl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cisco_wifi_ctl.py b/cisco_wifi_ctl.py index a1747309..72691a6b 100755 --- a/cisco_wifi_ctl.py +++ b/cisco_wifi_ctl.py @@ -993,8 +993,8 @@ def main(): if i == 2: logg.info("WLC(config)# prompt received will send end and exit") try: - egg.sendline("end") - sleep(1) + #egg.sendline("end") + #sleep(1) egg.sendline("exit") sleep(1) except: