forked from expo/troggle
bug fix
This commit is contained in:
parent
6bcf70bb8b
commit
845e70465e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user