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:
|
||||
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 })
|
||||
|
Loading…
Reference in New Issue
Block a user