2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 03:07:48 +00:00

missing fields on survexblock fixed

This commit is contained in:
2026-01-31 01:20:13 +00:00
parent 0553bf72fe
commit a997b16c94

View File

@@ -600,9 +600,12 @@ class LoadingSurvex:
nc = 0
ns = 0
for sb in chunk:
sb.save() # simplest is best, if it works
continue
got_obj, created = SurvexBlock.objects.get_or_create(
_blockid=sb._blockid,
)
) # missing most fields
if created:
nc += 1
else: