Auto-merge PR #572 (Codex)

This commit is contained in:
SirBroccoli
2026-01-20 23:17:02 +01:00
committed by GitHub
parent d054715fbd
commit ac7cb9c73c

View File

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