mirror of
https://github.com/mvt-project/mvt.git
synced 2024-07-01 08:29:03 +00:00
Fix bug where getprop sections where missing due to non-standard section header
This commit is contained in:
parent
f814244ff8
commit
3787dc48cd
|
@ -39,8 +39,9 @@ class Getprop(BugReportModule):
|
||||||
|
|
||||||
lines = []
|
lines = []
|
||||||
in_getprop = False
|
in_getprop = False
|
||||||
|
|
||||||
for line in content.decode(errors="ignore").splitlines():
|
for line in content.decode(errors="ignore").splitlines():
|
||||||
if line.strip() == "------ SYSTEM PROPERTIES (getprop) ------":
|
if line.strip().startswith("------ SYSTEM PROPERTIES"):
|
||||||
in_getprop = True
|
in_getprop = True
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user