forked from expo/troggle
Buxfix for cave search not finding any cave file
This commit is contained in:
parent
5836c6ff90
commit
6ac65cf893
@ -337,9 +337,7 @@ def survexcaveslist(request):
|
|||||||
elif len(survdirobj) > 1:
|
elif len(survdirobj) > 1:
|
||||||
multifilecaves.append((survdirobj[0], survdirobj[1:]))
|
multifilecaves.append((survdirobj[0], survdirobj[1:]))
|
||||||
# single file caves
|
# single file caves
|
||||||
else:
|
elif len(survdirobj) == 1:
|
||||||
#print("survdirobj = ")
|
|
||||||
#print(survdirobj)
|
|
||||||
onefilecaves.append(survdirobj[0])
|
onefilecaves.append(survdirobj[0])
|
||||||
|
|
||||||
return render_to_response('svxfilecavelist.html', {'settings': settings, "onefilecaves":onefilecaves, "multifilecaves":multifilecaves, "subdircaves":subdircaves })
|
return render_to_response('svxfilecavelist.html', {'settings': settings, "onefilecaves":onefilecaves, "multifilecaves":multifilecaves, "subdircaves":subdircaves })
|
||||||
|
Loading…
Reference in New Issue
Block a user