diff --git a/src/wiktextract/extractor/fr/page.py b/src/wiktextract/extractor/fr/page.py index 48c88d2fc..2da323bf5 100644 --- a/src/wiktextract/extractor/fr/page.py +++ b/src/wiktextract/extractor/fr/page.py @@ -99,7 +99,11 @@ def parse_section( ): pass elif section_type in wxr.config.OTHER_SUBTITLES["notes"]: + if len(page_data) == 0: + page_data.append(copy.deepcopy(base_data)) extract_note(wxr, page_data, level_node) + if page_data[-1].keys() == base_data.keys(): + page_data.pop() # no data was added def process_pos_block(