Skip to content

Commit

Permalink
move files directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Guy-Galil committed Aug 29, 2024
1 parent 3bba274 commit 4d16c37
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 4d16c37

Please sign in to comment.