summaryrefslogtreecommitdiffstats
path: root/parsers
diff options
context:
space:
mode:
Diffstat (limited to 'parsers')
-rw-r--r--parsers/imports.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/parsers/imports.py b/parsers/imports.py
index ddfe69f..0d5420b 100644
--- a/parsers/imports.py
+++ b/parsers/imports.py
@@ -59,15 +59,14 @@ def import_survex():
def import_loadpos():
# when this import is moved to the top with the rest it all crashes horribly
- with transaction.atomic():
- import troggle.parsers.survex
- print(" - Survex entrances x/y/z Positions")
import troggle.parsers.survex
+ print(" - Survex entrances x/y/z Positions")
+ with transaction.atomic():
troggle.parsers.survex.LoadPositions()
def import_drawingsfiles():
print("-- Importing Drawings files")
- import troggle.parsers.survex
+ with transaction.atomic():
troggle.parsers.surveys.LoadDrawingFiles()
# Fossil.