mirror of
https://github.com/Findus23/invoices.git
synced 2024-09-19 15:13:47 +02:00
fix pdf-over and bank_fee default
This commit is contained in:
parent
b1c933e973
commit
7204ec2b4a
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -126,8 +126,8 @@ def sign_invoice(id):
|
|||
name = ""
|
||||
exit()
|
||||
subprocess.check_call([
|
||||
"/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java", # force java8
|
||||
"-jar", "/usr/local/PDF-Over/lib/pdf-over-gui-4.1.16.jar",
|
||||
"java",
|
||||
"-jar", "/usr/local/PDF-Over/lib/pdf-over-gui-4.1.17.jar",
|
||||
"-i", "{dir}/{name}.pdf".format(dir=directory, name=name),
|
||||
"-o", "{dir}/{name}_{signed}.pdf".format(
|
||||
dir=directory, name=name, signed=("signiert" if name == "Rechnung" else "signed")
|
||||
|
|
Loading…
Reference in a new issue