mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-29 05:11:52 +00:00
bug fix for edit link for index files
This commit is contained in:
parent
e9fdea80c0
commit
e820a516de
@ -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…
Reference in New Issue
Block a user