diff --git a/parsers/logbooks.py b/parsers/logbooks.py index 86ff796..b2d99aa 100644 --- a/parsers/logbooks.py +++ b/parsers/logbooks.py @@ -381,6 +381,8 @@ def parser_html(year, expedition, txt, seq=""): for a new year logbook will move the endmatter up to the frontmatter. This made sense when translating from parser_html_01 format logfiles, believe me. + + Now that all the old logbooks have been converted, the endmatter relocation is now disabled. """ logentries = [] dupl = {} @@ -405,10 +407,10 @@ def parser_html(year, expedition, txt, seq=""): endpara = "" if len(endpara) > 0: - print(f"\n - {year} endpara:\n'{endpara}'") - endpath = Path(settings.EXPOWEB, LOGBOOKS_DIR, year, "endmatter.html") - with open(endpath, "w") as end: - end.write(endpara + "\n") + print(f"\n - {year} endpara:\n'{endpara}'\n\n NOT creating endmatter.html from 2025 onwards") + # endpath = Path(settings.EXPOWEB, LOGBOOKS_DIR, year, "endmatter.html") + # with open(endpath, "w") as end: + # end.write(endpara + "\n") if tripparas := re.findall(r"([\s\S]*?)(?=