1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-13 01:20:24 +02:00

iw_scan: Improve detection of lines starting with spaces

This commit is contained in:
Philipp Schmitt
2021-01-06 10:32:17 +01:00
parent 5885b960f9
commit 996d394e89

View File

@ -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