2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 16:51:54 +00:00

bug fix for edit link for index files

This commit is contained in:
Martin Green 2011-08-07 17:30:18 +01:00
parent e9fdea80c0
commit e820a516de

View File

@ -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: