From 372c7e0804e052d0603b58716d466ae2dfbc08f3 Mon Sep 17 00:00:00 2001 From: Martin Green Date: Sun, 19 Jun 2022 00:27:10 +0100 Subject: [PATCH] test --- core/views/expo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 + '

HTML Parsing failure:
Page could not be parsed into header and body:
failure detected in expowebpage in views.expo.py

Please edit this :expoweb: page to be in the expected full HTML format .' ) except IOError: print("### File not found ### ", filepath) - return HttpResponse('File not found' ) filefound = False