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

Fixing wiki-parsing for 2009 logbook

This commit is contained in:
2022-12-18 19:33:56 +00:00
parent 73b710d53f
commit d1b94763b4
5 changed files with 74 additions and 65 deletions

View File

@@ -41,11 +41,11 @@ def import_logbooks():
with transaction.atomic():
troggle.parsers.logbooks.LoadLogbooks()
def import_logbook(year=2019):
def import_logbook(year=2009):
print(f"-- Importing Logbook {year}")
print(f"-- - commented out")
# with transaction.atomic():
# troggle.parsers.logbooks.LoadLogbook(year, format="cucc")
with transaction.atomic():
troggle.parsers.logbooks.LoadLogbook(year)
def import_QMs():
print("-- Importing old QMs for 161, 204, 234 from CSV files")