path to pdf

This commit is contained in:
dechert
2021-06-17 20:37:29 +02:00
parent 6c99e372a9
commit acf98f1387
2 changed files with 3 additions and 3 deletions

View File

@@ -133,7 +133,7 @@ def download_pdf_file():
"""Download the .pdf file."""
# print("sending file with name: " + filename)
current_dir = os.getcwd()
full_dir = os.path.join(current_dir, "output")
full_dir = os.path.join(current_dir, OUTPUT_FODLER)
print("full_dir: " + full_dir)
return send_from_directory(full_dir, "slide-deck.pdf", as_attachment=True)