From c26758f4681c8a280d85509530b7b55a8c1e2687 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Mon, 3 Oct 2022 16:16:07 -0400 Subject: [PATCH] Fix simplified pathing. --- app/pdf_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/pdf_builder.py b/app/pdf_builder.py index 20b7e8a..50b74e9 100644 --- a/app/pdf_builder.py +++ b/app/pdf_builder.py @@ -7,7 +7,7 @@ from dataclasses import dataclass from flask import send_from_directory, Response -proj_dir = os.path.dirname(os.getcwd()) +proj_dir = os.getcwd() output_dir = proj_dir + '/outputs/' base_tex_text = open(proj_dir + '/letter_templates/base.tex', 'r').read()