summaryrefslogtreecommitdiffstats
path: root/parsers/imports.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2022-12-22 00:56:46 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2022-12-22 00:56:46 +0000
commitf23764c4861600adc256ccd48bd45e4c710e761c (patch)
treeb941b499fff061c686b267e114ebb05a4e31d5c5 /parsers/imports.py
parenta7a126dd55bbed3d5078bf7a66ec9f2632e48f51 (diff)
downloadtroggle-f23764c4861600adc256ccd48bd45e4c710e761c.tar.gz
troggle-f23764c4861600adc256ccd48bd45e4c710e761c.tar.bz2
troggle-f23764c4861600adc256ccd48bd45e4c710e761c.zip
diagnosing missing entrance file
Diffstat (limited to 'parsers/imports.py')
-rw-r--r--parsers/imports.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/parsers/imports.py b/parsers/imports.py
index ac671dc..62e7e84 100644
--- a/parsers/imports.py
+++ b/parsers/imports.py
@@ -63,6 +63,13 @@ def import_survex():
with transaction.atomic():
troggle.parsers.survex.LoadPositions()
+def import_ents():
+ # when this import is moved to the top with the rest it all crashes horribly
+ print(" - Survex entrances x/y/z Positions")
+ with transaction.atomic():
+ import troggle.parsers.survex
+ troggle.parsers.survex.LoadPositions()
+
def import_loadpos():
# when this import is moved to the top with the rest it all crashes horribly
import troggle.parsers.survex