2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-16 12:27:10 +00:00

convert old logbooks to modern format

This commit is contained in:
2022-12-20 16:38:32 +00:00
parent 9169abdb05
commit dc3a61addd
5 changed files with 9 additions and 9 deletions

View File

@@ -77,10 +77,10 @@ LOGBOOK_PARSER_SETTINGS = {
"1989": ("log.htm", "parser_html_01"), #crashes MySQL
"1988": ("log.htm", "parser_html_01"), #crashes MySQL
"1987": ("log.htm", "parser_html_01"), #crashes MySQL
"1985": ("log.htm", "parser_html_01"),
"1984": ("log.htm", "parser_html_01"),
"1983": ("log.htm", "parser_html_01"),
"1982": ("log.htm", "parser_html_01"),
"1985": ("logbook.html", "parser_html"),
"1984": ("logbook.html", "parser_html"),
"1983": ("logbook.html", "parser_html"),
"1982": ("logbook.html", "parser_html"),
}
entries = { "2022": 86, "2019": 56, "2018": 100, "2017": 76, "2016": 83, "2015": 79,
@@ -89,7 +89,7 @@ entries = { "2022": 86, "2019": 56, "2018": 100, "2017": 76, "2016": 83, "2015":
"2001": 48, "2000": 54, "1999": 79, "1998": 43, "1997": 53, "1996": 95, "1995": 42,
"1994": 32, "1993": 41, "1992": 62, "1991": 39, "1990": 87, "1989": 1,"1988": 1,"1987": 1,
"1985": 24, "1984": 32, "1983": 52, "1982": 42,}
# Logbooks log.htm exist for 1983, 84, 85, 87, 88, 89 but have no full-working parser, or need hand-editing.
# Logbooks log.htm exist for 87, 88, 89 but have no full-working parser, or need hand-editing.
logentries = [] # the entire logbook for one year is a single object: a list of entries
noncaveplaces = [ "Journey", "Loser Plateau", "UNKNOWN", 'plateau',