test
This commit is contained in:
parent
c27ff18742
commit
866ad1b9bf
@ -419,7 +419,7 @@ def pdfGen(request):
|
|||||||
|
|
||||||
template = get_template('test.tex')
|
template = get_template('test.tex')
|
||||||
latex = template.render(context)
|
latex = template.render(context)
|
||||||
|
print('LATEX', latex)
|
||||||
with tempfile.TemporaryDirectory() as tempdir:
|
with tempfile.TemporaryDirectory() as tempdir:
|
||||||
direct = tempdir
|
direct = tempdir
|
||||||
with open(os.path.join(direct, 'tmp.tex'), 'x', encoding='utf-8') as f:
|
with open(os.path.join(direct, 'tmp.tex'), 'x', encoding='utf-8') as f:
|
||||||
|
Loading…
Reference in New Issue
Block a user