diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-01-28 11:45:30 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-01-28 11:45:30 +0000 |
commit | db0504057b988ea0ccc982a53a48334084dc48bc (patch) | |
tree | 947ad8b23559a94a236ce21a391e46a6b0d73f4f /parsers/imports.py | |
parent | e4c804b30585da3ff300659ed364b00c65e850b7 (diff) | |
download | troggle-db0504057b988ea0ccc982a53a48334084dc48bc.tar.gz troggle-db0504057b988ea0ccc982a53a48334084dc48bc.tar.bz2 troggle-db0504057b988ea0ccc982a53a48334084dc48bc.zip |
no search before db object creation: faster
Diffstat (limited to 'parsers/imports.py')
-rw-r--r-- | parsers/imports.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parsers/imports.py b/parsers/imports.py index 050d5ea..c1de034 100644 --- a/parsers/imports.py +++ b/parsers/imports.py @@ -40,7 +40,7 @@ def import_logbooks(): troggle.parsers.logbooks.LoadLogbooks() -def import_logbook(year=2016): +def import_logbook(year=2022): print(f"-- Importing Logbook {year}") with transaction.atomic(): troggle.parsers.logbooks.LoadLogbook(year) |