summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/views/expo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/expo.py b/core/views/expo.py
index adfcf23..f225c93 100644
--- a/core/views/expo.py
+++ b/core/views/expo.py
@@ -224,7 +224,7 @@ def expopage(request, path):
try:
t = type(filetobeopened)
- content = open(filetobeopened, "rb")
+ content = open(filetobeopened.encode('utf8'), "rb")
content_type=getmimetype(path)
return HttpResponse(content = content, content_type=content_type)
except IOError: