summaryrefslogtreecommitdiffstats
path: root/parsers/logbooks.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2025-02-09 22:06:19 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2025-02-09 22:06:19 +0000
commit10352f2ccb194e9fca562b19cecbe294e93d2d8c (patch)
treef6c639098a7e5259cbcb65e782b414896c3b5c45 /parsers/logbooks.py
parent0e2ccee6788f41cc9113925575502a4a44182978 (diff)
downloadtroggle-10352f2ccb194e9fca562b19cecbe294e93d2d8c.tar.gz
troggle-10352f2ccb194e9fca562b19cecbe294e93d2d8c.tar.bz2
troggle-10352f2ccb194e9fca562b19cecbe294e93d2d8c.zip
Signup adds person to current expedition
Diffstat (limited to 'parsers/logbooks.py')
-rw-r--r--parsers/logbooks.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/parsers/logbooks.py b/parsers/logbooks.py
index 08e2710..a411848 100644
--- a/parsers/logbooks.py
+++ b/parsers/logbooks.py
@@ -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