From 845e70465ecbd86640d3ce89ee0cceb94f02688e Mon Sep 17 00:00:00 2001 From: Martin Green Date: Sat, 18 Jun 2022 23:24:21 +0100 Subject: [PATCH] bug fix --- core/views/expo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/views/expo.py b/core/views/expo.py index 8ee6101..4270f9c 100644 --- a/core/views/expo.py +++ b/core/views/expo.py @@ -223,7 +223,7 @@ def expopage(request, path): filetobeopened = os.path.normpath(expowebpath / path) try: - content = open(filetobeopened, "rb" + content = open(filetobeopened, "rb") content_type=getmimetype(path) return HttpResponse(content = content, content_type=content_type) except IOError: