mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-15 10:37:07 +00:00
More transactions enabled.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user