summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/views/expo.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/views/expo.py b/core/views/expo.py
index 4270f9c..adfcf23 100644
--- a/core/views/expo.py
+++ b/core/views/expo.py
@@ -223,6 +223,7 @@ def expopage(request, path):
filetobeopened = os.path.normpath(expowebpath / path)
try:
+ t = type(filetobeopened)
content = open(filetobeopened, "rb")
content_type=getmimetype(path)
return HttpResponse(content = content, content_type=content_type)