summaryrefslogtreecommitdiffstats
path: root/parsers/imports.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-10-26 18:28:59 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2023-10-26 18:28:59 +0300
commit87d9804864e157b451c92e6fb71165aa4925cd47 (patch)
tree58c0d8011808d79d3603bca4dee34e9feeb21608 /parsers/imports.py
parentf14bd984f88ae4274fbecc690a4a0f0a45210e69 (diff)
downloadtroggle-87d9804864e157b451c92e6fb71165aa4925cd47.tar.gz
troggle-87d9804864e157b451c92e6fb71165aa4925cd47.tar.bz2
troggle-87d9804864e157b451c92e6fb71165aa4925cd47.zip
findng variant data on survexblocks and setting wallet *ref
Diffstat (limited to 'parsers/imports.py')
-rw-r--r--parsers/imports.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/parsers/imports.py b/parsers/imports.py
index a469986..8b1df5f 100644
--- a/parsers/imports.py
+++ b/parsers/imports.py
@@ -54,12 +54,17 @@ def import_survex():
print(" - Survex Blocks")
with transaction.atomic():
troggle.parsers.survex.LoadSurvexBlocks()
- print(" - Survex entrances x/y/z Positions")
with transaction.atomic():
troggle.parsers.survex.survexifywallets()
+ print(" - Survex entrances x/y/z Positions")
with transaction.atomic():
troggle.parsers.locations.LoadPositions()
+def import_survex_checks():
+ print(" - Survex: check wallet references and set persons, caves")
+ with transaction.atomic():
+ troggle.parsers.survex.survexifywallets()
+
def import_ents():
print(" - Survex entrances x/y/z Positions")
with transaction.atomic():