2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 08:41:51 +00:00

commnt added

This commit is contained in:
Philip Sargent 2024-07-18 16:14:11 +02:00
parent 5a4d874b9f
commit 0ce2ae4d1c

View File

@ -501,7 +501,7 @@ def GetCaveLookup():
global Gcave_count global Gcave_count
Gcave_count = defaultdict(int) # sets default value to int(0) 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() key = cave.official_name.lower()
if key != "" and key != "unamed" and key != "unnamed": if key != "" and key != "unamed" and key != "unnamed":
if Gcave_count[key] > 0: if Gcave_count[key] > 0: