diff options
-rw-r--r-- | core/models/survex.py | 1 | ||||
-rw-r--r-- | parsers/logbooks.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/core/models/survex.py b/core/models/survex.py index cdf3e59..d165d14 100644 --- a/core/models/survex.py +++ b/core/models/survex.py @@ -269,6 +269,7 @@ class Wallet(models.Model): ticks = {} # Initially, are there any required survex files present ? + # Note that we can't set the survexblock here on the wallet as that info is only available while parsing the survex file survexok = "red" ticks["S"] = "red" if waldata["survex not required"]: diff --git a/parsers/logbooks.py b/parsers/logbooks.py index 7995d8b..41d0895 100644 --- a/parsers/logbooks.py +++ b/parsers/logbooks.py @@ -120,7 +120,7 @@ def EnterLogIntoDbase(date, place, title, text, trippeople, expedition, logtime_ Does NOT save the expeditionday_id - all NULLs. why? Because we are deprecating expeditionday ! troggle.log shows that we are creating lots of duplicates, which is no no problem with SQL as they just overwrite - but we are saving the same thing too many times.. Also seen in teh ObjStore mimic + but we are saving the same thing too many times.. Also seen in the ObjStore mimic """ try: trippersons, author = GetTripPersons(trippeople, expedition, logtime_underground, tid=tid) |