mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-02-18 05:00:13 +00:00
ugh
This commit is contained in:
parent
3528587890
commit
b3b10b0db7
@ -128,7 +128,8 @@ def expowebpage(request, expowebpath, path):
|
|||||||
try:
|
try:
|
||||||
with open(os.path.normpath(expowebpath / path), "r") as o:
|
with open(os.path.normpath(expowebpath / path), "r") as o:
|
||||||
html = o.read()
|
html = o.read()
|
||||||
# except:
|
except:
|
||||||
|
raise
|
||||||
# try:
|
# try:
|
||||||
# with open(os.path.normpath(expowebpath / path), "rb") as o:
|
# with open(os.path.normpath(expowebpath / path), "rb") as o:
|
||||||
# html = str(o.read()).replace("<h1>","<h1>BAD NON-UTF-8 characters here - ")
|
# html = str(o.read()).replace("<h1>","<h1>BAD NON-UTF-8 characters here - ")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user