clean up login

This commit is contained in:
Chuck SmileyRekiere
2020-09-22 07:11:33 -06:00
parent dbde963a11
commit 45b9daaf41

View File

@@ -325,7 +325,7 @@ def main():
found_escape = False
if args.series == "9800":
while logged_in_9800 == False and loop_count <= 2:
#egg.sendline(CR)
egg.sendline(CR)
try:
i = egg.expect_exact(["Escape character is '^]'.","WLC>","WLC#","ser\:","Password:","WLC(config)#",pexpect.TIMEOUT],timeout=2)
except pexpect.EOF as e: