summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2024-07-18 16:14:11 +0200
committerPhilip Sargent <philip.sargent@gmail.com>2024-07-18 16:14:11 +0200
commit0ce2ae4d1cec68d0028665b7716e6e8a0b52914d (patch)
treef821e3af66c3e4731070355d02f209b08af18960
parent5a4d874b9fed2fe212109e9beb7bb0fdb433a8df (diff)
downloadtroggle-0ce2ae4d1cec68d0028665b7716e6e8a0b52914d.tar.gz
troggle-0ce2ae4d1cec68d0028665b7716e6e8a0b52914d.tar.bz2
troggle-0ce2ae4d1cec68d0028665b7716e6e8a0b52914d.zip
commnt added
-rw-r--r--core/models/caves.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/models/caves.py b/core/models/caves.py
index 0d16082..9d508fc 100644
--- a/core/models/caves.py
+++ b/core/models/caves.py
@@ -501,7 +501,7 @@ def GetCaveLookup():
global Gcave_count
Gcave_count = defaultdict(int) # sets default value to int(0)
- for cave in Cave.objects.all():
+ for cave in Cave.objects.all(): # Note that this collects recently created Caves too
key = cave.official_name.lower()
if key != "" and key != "unamed" and key != "unnamed":
if Gcave_count[key] > 0: