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

Signup adds person to current expedition

This commit is contained in:
2025-02-09 22:06:19 +00:00
parent 0e2ccee678
commit 10352f2ccb
3 changed files with 38 additions and 13 deletions

View File

@@ -58,11 +58,6 @@ LOGBOOK_PARSER_SETTINGS = {
LOGBOOKS_DIR = "years" # subfolder of settings.EXPOWEB
ENTRIES = {
"2029": 0,
"2028": 0,
"2027": 0,
"2026": 0,
"2025": 0,
"2024": 125,
"2023": 131,
"2022": 94,
@@ -106,6 +101,10 @@ ENTRIES = {
"1979": 30,
"1978": 38,
}
for y in range(2025, 2050):
y_str = str(y)
if y_str not in ENTRIES:
ENTRIES[y_str] = 0
# 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