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:
|
except IOError:
|
||||||
try:
|
try:
|
||||||
o = open(os.path.normpath(settings.EXPOWEB + path + "index.htm"), "rb")
|
o = open(os.path.normpath(settings.EXPOWEB + path + "index.htm"), "rb")
|
||||||
path = path + "index.html"
|
path = path + "index.htm"
|
||||||
except IOError:
|
except IOError:
|
||||||
raise Http404
|
raise Http404
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user