summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2022-08-25 16:31:38 +0300
committerPhilip Sargent <philip.sargent@klebos.com>2022-08-25 16:31:38 +0300
commitab184bccf342aeac72d5d1a99c9f9ebd6b244d29 (patch)
tree75174c4bbffeba77a1a8c835cb38162dc01eef00
parent79672dd4b37754d9579ba3ef70f172560fa6eba6 (diff)
downloadtroggle-ab184bccf342aeac72d5d1a99c9f9ebd6b244d29.tar.gz
troggle-ab184bccf342aeac72d5d1a99c9f9ebd6b244d29.tar.bz2
troggle-ab184bccf342aeac72d5d1a99c9f9ebd6b244d29.zip
comment updates
-rw-r--r--core/models/survex.py1
-rw-r--r--parsers/logbooks.py2
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)