Fix bug where getprop sections where missing due to non-standard section header

This commit is contained in:
Donncha Ó Cearbhaill 2023-05-18 11:28:10 +02:00
parent f814244ff8
commit 3787dc48cd

View File

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