summaryrefslogtreecommitdiffstats
path: root/parsers/survex.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2022-07-22 13:42:04 +0300
committerPhilip Sargent <philip.sargent@klebos.com>2022-07-22 13:42:04 +0300
commit7288bd9da31349612f4336026512a440fd499847 (patch)
treea94c40510e35e0332e5354564264516edbc3c203 /parsers/survex.py
parentf194126fb5b898bfd578298feb79ebf5d8554844 (diff)
downloadtroggle-7288bd9da31349612f4336026512a440fd499847.tar.gz
troggle-7288bd9da31349612f4336026512a440fd499847.tar.bz2
troggle-7288bd9da31349612f4336026512a440fd499847.zip
add comment on point where it crashes
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...')