From 2157bb49bf92fc92221ed06ec51ad4b9e6a99981 Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Tue, 15 Sep 2020 14:08:11 -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 0fe81639..3753fd82 100755 --- a/cisco_wifi_ctl.py +++ b/cisco_wifi_ctl.py @@ -660,7 +660,7 @@ def main(): if i == 1: print("did not get the (config)# prompt") - if (args.action == "wlan" and (args.wlan is None)): + if (args.action == "no_wlan" and (args.wlan is None)): raise Exception("wlan is required") if (args.action == "no_wlan"): egg.sendline("config t")