diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2022-12-09 23:45:07 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2022-12-09 23:45:07 +0000 |
commit | cabcada0b8738366bce33173ad1b3d376e8fb73c (patch) | |
tree | 0ed741af5c1c1d1b67433f9dc49fd8c6740a4a8a /parsers/imports.py | |
parent | 17b2b7b89c2ce34471251a64a1f7c9e416a1c869 (diff) | |
download | troggle-cabcada0b8738366bce33173ad1b3d376e8fb73c.tar.gz troggle-cabcada0b8738366bce33173ad1b3d376e8fb73c.tar.bz2 troggle-cabcada0b8738366bce33173ad1b3d376e8fb73c.zip |
2003 logbook export/re-import as now HTML format
Diffstat (limited to 'parsers/imports.py')
-rw-r--r-- | parsers/imports.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/parsers/imports.py b/parsers/imports.py index df6e583..9cc945c 100644 --- a/parsers/imports.py +++ b/parsers/imports.py @@ -41,6 +41,11 @@ def import_logbooks(): with transaction.atomic(): troggle.parsers.logbooks.LoadLogbooks() +def import_logbook(year=2003): + print(f"-- Importing Logbook {year}") + with transaction.atomic(): + troggle.parsers.logbooks.LoadLogbook(year) + def import_QMs(): print("-- Importing old QMs for 161, 204, 234 from CSV files") with transaction.atomic(): |