mirror of
https://github.com/peass-ng/PEASS-ng.git
synced 2026-04-28 11:53:22 -07:00
Auto-merge PR #572 (Codex)
This commit is contained in:
@@ -127,7 +127,9 @@ def parse_line(line: str):
|
|||||||
|
|
||||||
elif is_section(line, INFO_PATTERN):
|
elif is_section(line, INFO_PATTERN):
|
||||||
title = parse_title(line)
|
title = parse_title(line)
|
||||||
C_SECTION["infos"].append(title)
|
if C_SECTION == {}:
|
||||||
|
return
|
||||||
|
C_SECTION.setdefault("infos", []).append(title)
|
||||||
|
|
||||||
#If here, then it's text
|
#If here, then it's text
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user