mirror of
https://github.com/peass-ng/PEASS-ng.git
synced 2026-01-25 19:04:50 -08: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):
|
||||
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
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user