2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-26 01:01:53 +00:00
This commit is contained in:
Philip Sargent 2022-04-27 23:00:42 +03:00
parent 3528587890
commit b3b10b0db7

View File

@ -128,7 +128,8 @@ def expowebpage(request, expowebpath, path):
try:
with open(os.path.normpath(expowebpath / path), "r") as o:
html = o.read()
# except:
except:
raise
# try:
# with open(os.path.normpath(expowebpath / path), "rb") as o:
# html = str(o.read()).replace("<h1>","<h1>BAD NON-UTF-8 characters here - ")