bug fix for edit link for index files

This commit is contained in:
Martin Green 2011-08-07 17:30:18 +01:00
parent 24fdf9be3c
commit f527bd616a

View File

@ -45,7 +45,7 @@ def flatpage(request, path):
except IOError:
try:
o = open(os.path.normpath(settings.EXPOWEB + path + "index.htm"), "rb")
path = path + "index.html"
path = path + "index.htm"
except IOError:
raise Http404
else: