From a997b16c948ef81b603840fcf8686b8e372134dc Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 31 Jan 2026 01:20:13 +0000 Subject: [PATCH] missing fields on survexblock fixed --- parsers/survex.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/parsers/survex.py b/parsers/survex.py index e47e690..7e289ee 100644 --- a/parsers/survex.py +++ b/parsers/survex.py @@ -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: