path to pdf
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user