mirror of
https://github.com/mvt-project/mvt.git
synced 2024-06-26 14:28:54 +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 = []
|
||||
in_getprop = False
|
||||
|
||||
for line in content.decode(errors="ignore").splitlines():
|
||||
if line.strip() == "------ SYSTEM PROPERTIES (getprop) ------":
|
||||
if line.strip().startswith("------ SYSTEM PROPERTIES"):
|
||||
in_getprop = True
|
||||
continue
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user