cisco_wifi_clt.py: debug

This commit is contained in:
Chuck SmileyRekiere
2021-01-19 13:39:37 -07:00
parent bf46b57730
commit 1a00556d0b

View File

@@ -1197,7 +1197,7 @@ def main():
print("show wlan summary command to send 2")
egg.sendline("show wlan summary")
sleep(0.1)
i = egg.expect([CCP,CCP_EN,pexpect.TIMEOUT],timeout=1)
i = egg.expect_exact([CCP,CCP_EN,pexpect.TIMEOUT],timeout=2)
print("CCP: {} CCP_EN: {} ".format(CCP,CCP_EN))
if i == 0:
logg.info("show wlan summary sent prompt {}".format(CCP))