Skip to content
Snippets Groups Projects
Commit d85242a6 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

Bugfix to file serving (datadir -> datadir())

parent 362b1af3
No related branches found
No related tags found
No related merge requests found
......@@ -878,7 +878,7 @@ def file_download(request, event, filename):
msg = "You do not have permission to view this file."
return HttpResponseForbidden(msg)
file_path = os.path.join(event.datadir, filename)
file_path = os.path.join(event.datadir(), filename)
return check_and_serve_file(request, file_path,
ResponseClass=HttpResponse)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment