From f23764c4861600adc256ccd48bd45e4c710e761c Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Thu, 22 Dec 2022 00:56:46 +0000 Subject: diagnosing missing entrance file --- parsers/imports.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'parsers/imports.py') 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 -- cgit v1.2.3