mirror of
https://github.com/Findus23/invoices.git
synced 2024-09-18 14:03:48 +02:00
compile in nonstopmode
This commit is contained in:
parent
e7149ad443
commit
ffd7b2ddf0
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -115,7 +115,7 @@ def compile_invoice(id):
|
|||
fh.write(template.render(section1='Long Form', section2='Short Form', **data))
|
||||
os.chdir(directory)
|
||||
for _ in range(2):
|
||||
subprocess.check_call(['pdflatex', '{name}.tex'.format(name=translate("invoice"))])
|
||||
subprocess.check_call(['pdflatex', '-interaction=nonstopmode', '{name}.tex'.format(name=translate("invoice"))])
|
||||
print(directory)
|
||||
remove_tmp_files(translate("invoice"))
|
||||
|
||||
|
|
Loading…
Reference in a new issue