diff --git a/parsers/imports.py b/parsers/imports.py index 15659b7..f21962b 100644 --- a/parsers/imports.py +++ b/parsers/imports.py @@ -61,7 +61,8 @@ def import_survex(): print(" - Survex Blocks") troggle.parsers.survex.LoadSurvexBlocks() - troggle.parsers.survex.survexifywallets() + with transaction.atomic(): + troggle.parsers.survex.survexifywallets() print(" - Survex entrances x/y/z Positions") with transaction.atomic(): @@ -77,6 +78,7 @@ def import_justsurvex(): print(" - Survex Blocks") #with transaction.atomic(): troggle.parsers.survex.LoadSurvexBlocks() + troggle.parsers.survex.survexifywallets() def import_survex_checks(): print(" - Survex: check wallet references and set persons, caves")