diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2020-09-10 12:41:40 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2020-09-10 12:41:40 +0530 |
commit | cf59ea309bb96b18ac9c2834a7d59a51190bf593 (patch) | |
tree | 3a2518c3fd64ac340418d76f7dec8db1c9676428 | |
parent | 3f0346b2bb57a97f177a13ceb709629545a0d87c (diff) |
fixed pdf link, broken in previous commit
Also fixed spelling mistake in job-status form
-rw-r--r-- | app/templates/job_status.html | 2 | ||||
-rw-r--r-- | app/views.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/templates/job_status.html b/app/templates/job_status.html index 1536f8f..97ce9b3 100644 --- a/app/templates/job_status.html +++ b/app/templates/job_status.html @@ -23,7 +23,7 @@ } </style> - <p>A detailed zip file containing this PDF, along with all supporting files (configuration, pictures, protein-ligands e.t.c) to your email.</p> + <p>A detailed zip file containing this PDF, along with all supporting files (configuration, pictures, protein-ligands e.t.c) has been sent to your email.</p> <h3>AR Model</h3> diff --git a/app/views.py b/app/views.py index 698d621..1cbc3ec 100644 --- a/app/views.py +++ b/app/views.py @@ -127,8 +127,8 @@ def status(): done="Queued" if protein_name == None: protein_name = r[6] - - PDFReport = "./app/static/uploads/reports/" + str(jobID) + ".pdf" + + PDFReport = "/static/uploads/reports/" + str(jobID) + ".pdf" AndroidModel = "/static/uploads/3DModels/" + str(jobID) + ".gltf" iOSModel = "/static/uploads/3DModels/" + str(jobID) + ".usdz" |