mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-19 00:17:51 +02:00
Merge pull request #97 from pschmitt/iw_scan_fix_space_detection
iw_scan: Improve detection of lines starting with spaces
This commit is contained in:
@ -109,6 +109,7 @@ Examples:
|
||||
...
|
||||
]
|
||||
"""
|
||||
import re
|
||||
import jc.utils
|
||||
|
||||
|
||||
@ -310,7 +311,7 @@ def parse(data, raw=False, quiet=False):
|
||||
|
||||
continue
|
||||
|
||||
if line.startswith(' '):
|
||||
if re.match(r"^\s+.+", line):
|
||||
# ignore problematic lines
|
||||
if 'Maximum RX AMPDU length' in line:
|
||||
continue
|
||||
|
Reference in New Issue
Block a user