mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 03:37:55 +00:00
lf_cisco_power.py: fixing regular expression
This commit is contained in:
@@ -915,7 +915,7 @@ def main():
|
||||
search_wlan = True
|
||||
continue
|
||||
if (search_wlan):
|
||||
pat = "{}\s+(\S+)\s+\(\S+)".format(args.wlanID)
|
||||
pat = "%s\s+(\S+)\s+\(\S+)"%(args.wlanID)
|
||||
m = re.search(pat, line)
|
||||
if (m != None):
|
||||
cc_wlan = m.group(1)
|
||||
|
||||
Reference in New Issue
Block a user