2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-21 23:01:52 +00:00

bug fix from unfinished work, aborted

This commit is contained in:
Philip Sargent 2024-07-08 22:28:09 +01:00
parent a68ef27284
commit a8c9f8b899
2 changed files with 2 additions and 1 deletions

View File

@ -411,6 +411,7 @@ def edit_cave(request, path="", slug=None):
print(f"edit_cave(): {path=} {slug=}")
message = ""
if slug is not None:
print(f"{slug=}")
try:
cave = Cave.objects.get(caveslug__slug=slug)
except:

View File

@ -723,7 +723,7 @@ def read_cave(filename, mvf=None, cave=None):
Pending destruction of this whole concept and Class CaveSlug
What is Class CaveSlug for?
"""
return
#return
primary = True # this sets the first thing we find to be primary=True and all the others =False
for slug in slugs:
if slug in caves_xslug: