From b3b10b0db709654cef135055240c5520748df07d Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Wed, 27 Apr 2022 23:00:42 +0300 Subject: [PATCH] ugh --- core/views/expo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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("

","

BAD NON-UTF-8 characters here - ")