From 0b32d51ba349843fa36f013f76c281e0840d4ae2 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Wed, 23 Nov 2022 00:49:47 +0000 Subject: [PATCH] bugfix --- parsers/logbooks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parsers/logbooks.py b/parsers/logbooks.py index 5f3bc36..311d8c7 100644 --- a/parsers/logbooks.py +++ b/parsers/logbooks.py @@ -83,7 +83,7 @@ LOGBOOK_PARSER_SETTINGS = { "1982": ("log.htm", "parser_html_01"), } -entries = { "2022": 64, "2019": 44, "2018": 74, "2017": 60, "2016": 81, "2015": 79, +entries = { "2022": 64, "2019": 55, "2018": 74, "2017": 60, "2016": 81, "2015": 79, "2014": 65, "2013": 51, "2012": 75, "2011": 68, "2010": 22, "2009": 52, "2008": 49, "2007": 111, "2006": 60, "2005": 55, "2004": 76, "2003": 40, "2002": 31, "2001": 48, "2000": 54, "1999": 79, "1998": 43, "1997": 53, "1996": 94, "1995": 41, @@ -326,7 +326,7 @@ def parser_html(year, expedition, txt): tripid, tripid1, tripdate, triptitle, trippeople, triptext, tu = s2.groups() else: if not re.search(r"Rigging Guide", trippara): - msg = " !- Logbook. Can't parse: {} entry:{}".format(trippara, logbook_entry_count) + msg = f" !- Logbook. Can't parse {tripid1}: {trippara} entry:{logbook_entry_count} " print(msg) DataIssue.objects.create(parser='logbooks', message=msg) logdataissues[tid]=msg