From c469e32bfb17008d8bb7bf1d0be427fe49c5d101 Mon Sep 17 00:00:00 2001 From: phillybroadbent Date: Thu, 16 Nov 2023 10:53:52 +0000 Subject: [PATCH] Fixing linter problems --- lowfat/models/claimant.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lowfat/models/claimant.py b/lowfat/models/claimant.py index f46a075e..186d4569 100644 --- a/lowfat/models/claimant.py +++ b/lowfat/models/claimant.py @@ -455,7 +455,7 @@ def claimantship_committed(self): status__in=['A', 'M', 'F'] )]) - return sum([fund.budget_approved for fund in this_claimant_funds]) - (spent_from_committed_final + spent_from_committed_other) + return sum([fund.budget_approved for fund in this_claimant_funds]) - (spent_from_committed_final + spent_from_committed_other) def claimantship_spent(self): """Return the amount already spent from the claimantship grant.""" @@ -465,4 +465,4 @@ def claimantship_spent(self): grant_heading="F" ) - return sum([expense.amount_authorized_for_payment for expense in this_claimant_expenses]) \ No newline at end of file + return sum([expense.amount_authorized_for_payment for expense in this_claimant_expenses])