Commit d85242a6 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

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

parent 362b1af3
......@@ -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,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment