2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 07:11:52 +00:00

1979 logbook parsing now works

This commit is contained in:
Philip Sargent 2023-03-06 22:30:07 +00:00
parent 432759bfc1
commit 859a28b4ee

View File

@ -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