mirror of
https://github.com/Findus23/invoices.git
synced 2024-09-19 15:13:47 +02:00
fix default for bank fee
This commit is contained in:
parent
b437952550
commit
b1c933e973
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -32,7 +32,7 @@ def create_invoice():
|
|||
"per_hour": ask("per hour", "money", default=config["default_hourly_rate"])
|
||||
}
|
||||
invoice.update(hourly)
|
||||
invoice["bank_fee"] = ask("bank_fee", "boolean")
|
||||
invoice["bank_fee"] = ask("bank_fee", "boolean", default=False)
|
||||
directory = invoice_dir + "/" + str(invoice["id"])
|
||||
if os.path.exists(directory):
|
||||
if not ask("overwrite", "boolean"):
|
||||
|
|
Loading…
Reference in a new issue