1
0
Fork 0
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:
Lukas Winkler 2018-05-10 19:00:36 +02:00
parent b1c933e973
commit 7204ec2b4a
No known key found for this signature in database
GPG key ID: 94AFBE7C2656A5B5

View file

@ -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")