From 0bac030ca7b798e0c87d0f71318f22a1bf6563e3 Mon Sep 17 00:00:00 2001 From: Deepesh Garg Date: Mon, 11 Jul 2022 22:04:52 +0530 Subject: [PATCH] chore: Linting Issues --- erpnext/loan_management/doctype/loan_refund/loan_refund.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/loan_management/doctype/loan_refund/loan_refund.py b/erpnext/loan_management/doctype/loan_refund/loan_refund.py index 265c9692111..d7ab54ca974 100644 --- a/erpnext/loan_management/doctype/loan_refund/loan_refund.py +++ b/erpnext/loan_management/doctype/loan_refund/loan_refund.py @@ -35,7 +35,7 @@ class LoanRefund(AccountsController): excess_amount = pending_amount * -1 if self.refund_amount > excess_amount: - frappe.throw(_("Refund amount cannot be greater than excess amount {}".format(excess_amount))) + frappe.throw(_("Refund amount cannot be greater than excess amount {0}").format(excess_amount)) def on_submit(self): self.update_outstanding_amount()