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

Buxfix for cave search not finding any cave file

This commit is contained in:
Philip Sargent 2021-03-17 20:58:25 +00:00
parent 5836c6ff90
commit 6ac65cf893

View File

@ -337,9 +337,7 @@ def survexcaveslist(request):
elif len(survdirobj) > 1:
multifilecaves.append((survdirobj[0], survdirobj[1:]))
# single file caves
else:
#print("survdirobj = ")
#print(survdirobj)
elif len(survdirobj) == 1:
onefilecaves.append(survdirobj[0])
return render_to_response('svxfilecavelist.html', {'settings': settings, "onefilecaves":onefilecaves, "multifilecaves":multifilecaves, "subdircaves":subdircaves })