summaryrefslogtreecommitdiffstats
path: root/parsers/survex.py
diff options
context:
space:
mode:
Diffstat (limited to 'parsers/survex.py')
-rw-r--r--parsers/survex.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/parsers/survex.py b/parsers/survex.py
index e5b2867..9443603 100644
--- a/parsers/survex.py
+++ b/parsers/survex.py
@@ -1489,6 +1489,7 @@ def LoadSurvexBlocks():
# this next makes a block_object assciated with a file_object.path = SURVEX_TOPNAME
survexblockroot = SurvexBlock(name=ROOTBLOCK, survexpath="", cave=None, survexfile=survexfileroot,
legsall=0, legslength=0.0)
+ # crashes here sometimes on MariaDB complaining that cave_id should not be null. But it should be.
survexblockroot.save()
print(' - Loading Survex Blocks...')