catchup
This commit is contained in:
parent
120b3d2f9f
commit
3389669e4e
|
|
@ -64,7 +64,7 @@ def parse_note(note_f: str, line_matcher: re.Pattern) -> dict:
|
||||||
else:
|
else:
|
||||||
if m.group(2) and curr_section:
|
if m.group(2) and curr_section:
|
||||||
todo[curr_section].append(m.group(4))
|
todo[curr_section].append(m.group(4))
|
||||||
elif curr_section:
|
elif not m.group(3) and curr_section:
|
||||||
todo[curr_section][-1] += f"\n {m.group(4)}"
|
todo[curr_section][-1] += f"\n {m.group(4)}"
|
||||||
return todo
|
return todo
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue