mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-18 21:27:13 +00:00
fixed bug looking for survex file with no .svx
This commit is contained in:
@@ -748,8 +748,12 @@ def get_primaries(cave):
|
||||
def survexcavesingle(request, cave_shortname):
|
||||
"""parsing all the survex files of a single cave and showing that it's consistent and can find all
|
||||
the files and people.
|
||||
"""
|
||||
|
||||
But might also be a link to a single survex file with no ".svx" suffix
|
||||
"""
|
||||
if cave_shortname.startswith("caves-16"):
|
||||
return svx(request, cave_shortname)
|
||||
|
||||
Gcavelookup = GetCaveLookup()
|
||||
if cave_shortname in Gcavelookup:
|
||||
cave = Gcavelookup[cave_shortname]
|
||||
|
||||
Reference in New Issue
Block a user