summaryrefslogtreecommitdiffstats
path: root/parsers/imports.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2022-12-18 19:33:56 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2022-12-18 19:33:56 +0000
commitd1b94763b43842e7834062a2ab68978c6d95a95e (patch)
tree40c35912341c838fe65d8cd4f81d1207b4418e71 /parsers/imports.py
parent73b710d53f0ea4fb4c1693679732e19a53530d1d (diff)
downloadtroggle-d1b94763b43842e7834062a2ab68978c6d95a95e.tar.gz
troggle-d1b94763b43842e7834062a2ab68978c6d95a95e.tar.bz2
troggle-d1b94763b43842e7834062a2ab68978c6d95a95e.zip
Fixing wiki-parsing for 2009 logbook
Diffstat (limited to 'parsers/imports.py')
-rw-r--r--parsers/imports.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/parsers/imports.py b/parsers/imports.py
index cd27726..825f46c 100644
--- a/parsers/imports.py
+++ b/parsers/imports.py
@@ -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")