mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-01-31 15:32:35 +00:00
debugging
This commit is contained in:
parent
845e70465e
commit
328347f8af
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user