mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-26 01:01:53 +00:00
ugh
This commit is contained in:
parent
3528587890
commit
b3b10b0db7
@ -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 - ")
|
||||
|
Loading…
Reference in New Issue
Block a user