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

exptl parse UK Caving blog

This commit is contained in:
2022-12-14 23:46:14 +00:00
parent 6dd8e5a75c
commit cb50528e2d
3 changed files with 81 additions and 62 deletions

View File

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