This commit is contained in:
Kilton937342 2022-08-02 13:39:21 +02:00
parent c27ff18742
commit 866ad1b9bf
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ def pdfGen(request):
template = get_template('test.tex')
latex = template.render(context)
print('LATEX', latex)
with tempfile.TemporaryDirectory() as tempdir:
direct = tempdir
with open(os.path.join(direct, 'tmp.tex'), 'x', encoding='utf-8') as f: