Skip to content

Commit

Permalink
Merge pull request #5 from hasadna/with-calamine
Browse files Browse the repository at this point in the history
move files directory
  • Loading branch information
Guy-Galil authored Aug 29, 2024
2 parents 8e1a84a + 4d16c37 commit 8f9fa21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djang/importer/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def details(request, report_id, tab):
return HttpResponse(output)

def files(request,file_name):
filename="./xlsx-files/files/"+file_name
filename="./xlsx-files/"+file_name
return FileResponse(open(filename, "rb"),
headers={
"Content-Type": "application/vnd.ms-excel",
Expand Down

0 comments on commit 8f9fa21

Please sign in to comment.