From 5f34a78d942ef7f5ea0accf662cdc5ed033fd47d Mon Sep 17 00:00:00 2001 From: Martin Green Date: Sun, 19 Jun 2022 00:25:48 +0100 Subject: test --- core/views/expo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/views/expo.py') diff --git a/core/views/expo.py b/core/views/expo.py index f39c3dd..178cbc0 100644 --- a/core/views/expo.py +++ b/core/views/expo.py @@ -298,9 +298,10 @@ def editexpopage(request, path): # if re.search(r"iso-8859-1", html): # body = str(body, "iso-8859-1") else: - 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 .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 -- cgit v1.2.3