2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 07:11:52 +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,10 +337,8 @@ def survexcaveslist(request):
elif len(survdirobj) > 1:
multifilecaves.append((survdirobj[0], survdirobj[1:]))
# single file caves
else:
#print("survdirobj = ")
#print(survdirobj)
onefilecaves.append(survdirobj[0])
elif len(survdirobj) == 1:
onefilecaves.append(survdirobj[0])
return render_to_response('svxfilecavelist.html', {'settings': settings, "onefilecaves":onefilecaves, "multifilecaves":multifilecaves, "subdircaves":subdircaves })