summaryrefslogtreecommitdiffstats
path: root/core/views/expo.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/views/expo.py')
-rw-r--r--core/views/expo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/expo.py b/core/views/expo.py
index 178cbc0..a2439cc 100644
--- a/core/views/expo.py
+++ b/core/views/expo.py
@@ -274,6 +274,7 @@ def editexpopage(request, path):
'''Manages the 'Edit this Page' capability for expo handbook and other html pages.
Relies on HTML5 or javascript to provide the in-browser editing environment.
'''
+ return HttpResponse('File not found' )
try:
# if a cave not a webpage at all.
r = Cave.objects.get(url = path)
@@ -301,7 +302,6 @@ def editexpopage(request, path):
return HttpResponse(default_head + html + '<h3>HTML Parsing failure:<br>Page could not be parsed into header and body:<br>failure detected in expowebpage in views.expo.py</h3> Please edit this <var>:expoweb:</var> page to be in the expected full HTML format .</body>' )
except IOError:
print("### File not found ### ", filepath)
- return HttpResponse('File not found' )
filefound = False