2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 07:11:52 +00:00

add comment on point where it crashes

This commit is contained in:
Philip Sargent 2022-07-22 13:42:04 +03:00
parent f194126fb5
commit 7288bd9da3

View File

@ -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...')