From f24f283a073d070f1335239d0df47d499ba3876f Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 20 Dec 2022 00:07:55 +0000 Subject: attempted speedup, explicit dates wallet objects --- parsers/survex.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'parsers/survex.py') diff --git a/parsers/survex.py b/parsers/survex.py index bfa2ad7..1f96d6b 100644 --- a/parsers/survex.py +++ b/parsers/survex.py @@ -660,6 +660,8 @@ class LoadingSurvex(): else: survexblock.scanswallet = manywallets[0] # this is a ForeignKey field survexblock.save() + # This is where we should check that the wallet JSON contains a link to the survexfile + # and that the JSON date and walletdate are set correctly to the survexblock date. else: perps = get_people_on_trip(survexblock) message = f" ! Wallet *REF bad in '{survexblock.survexfile.path}' '{refscan}' NOT in database i.e. wallet does not exist {perps}." -- cgit v1.2.3