diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2022-04-27 23:00:42 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2022-04-27 23:00:42 +0300 |
commit | b3b10b0db709654cef135055240c5520748df07d (patch) | |
tree | cd836f020d5e4029645bfbe5ecb5bc8d9a49f597 /core | |
parent | 3528587890d39673b3287fc1d16f9b594d4589c7 (diff) | |
download | troggle-b3b10b0db709654cef135055240c5520748df07d.tar.gz troggle-b3b10b0db709654cef135055240c5520748df07d.tar.bz2 troggle-b3b10b0db709654cef135055240c5520748df07d.zip |
ugh
Diffstat (limited to 'core')
-rw-r--r-- | core/views/expo.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/views/expo.py b/core/views/expo.py index 6b98984..596052d 100644 --- a/core/views/expo.py +++ b/core/views/expo.py @@ -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 - ") |