mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-16 12:27:10 +00:00
test
This commit is contained in:
@@ -298,9 +298,10 @@ def editexpopage(request, path):
|
|||||||
# if re.search(r"iso-8859-1", html):
|
# if re.search(r"iso-8859-1", html):
|
||||||
# body = str(body, "iso-8859-1")
|
# body = str(body, "iso-8859-1")
|
||||||
else:
|
else:
|
||||||
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' )
|
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:
|
except IOError:
|
||||||
print("### File not found ### ", filepath)
|
print("### File not found ### ", filepath)
|
||||||
|
return HttpResponse('File not found' )
|
||||||
filefound = False
|
filefound = False
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user