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: