From 859a28b4eeabaa4b98ea1ff9c583d7006db6baa2 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Mon, 6 Mar 2023 22:30:07 +0000 Subject: [PATCH] 1979 logbook parsing now works --- parsers/logbooks.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/parsers/logbooks.py b/parsers/logbooks.py index 83a2660..6211630 100644 --- a/parsers/logbooks.py +++ b/parsers/logbooks.py @@ -97,8 +97,10 @@ ENTRIES = { "1984": 32, "1983": 52, "1982": 42, + # "1979": 30, # to be hand-edited + "1978": 38, } -# What about 1970s ! Yes, 80 and 81 are missing, but the older ones need re-parsing !!! +# What about 1970s ! Yes, 80 and 81 are missing, so are 1976 and 1977. logentries = [] # the entire logbook for one year is a single object: a list of entries noncaveplaces = ["travel", "Journey", "Loser Plateau", "UNKNOWN", "plateau", "base camp", "basecamp", "top camp", "topcamp"] @@ -630,7 +632,7 @@ def LoadLogbooks(): "2020", "2021", ] # no expo - lostlogbook = ["1976", "1977", "1978", "1979", "1980", "1981"] + lostlogbook = ["1976", "1977", "1979", "1980", "1981"] sqlfail = [""] # breaks mysql with db constraint fail - all now fixed.] nologbook = noexpo + lostlogbook + sqlfail