forked from expo/troggle
bug fix for edit link for index files
This commit is contained in:
parent
24fdf9be3c
commit
f527bd616a
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user