diff options
author | Martin Green <martin.speleo@gmail.com> | 2022-06-19 00:27:10 +0100 |
---|---|---|
committer | Martin Green <martin.speleo@gmail.com> | 2022-06-19 00:27:10 +0100 |
commit | 372c7e0804e052d0603b58716d466ae2dfbc08f3 (patch) | |
tree | d5e41efc9394376135d3e6be9bd3b3c5d78dc679 /core | |
parent | 5f34a78d942ef7f5ea0accf662cdc5ed033fd47d (diff) | |
download | troggle-372c7e0804e052d0603b58716d466ae2dfbc08f3.tar.gz troggle-372c7e0804e052d0603b58716d466ae2dfbc08f3.tar.bz2 troggle-372c7e0804e052d0603b58716d466ae2dfbc08f3.zip |
test
Diffstat (limited to 'core')
-rw-r--r-- | core/views/expo.py | 2 |
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 |