From 108970eb503f503b764408b0f93fde87d67a776d Mon Sep 17 00:00:00 2001 From: 0livd <0livd@users.noreply.github.com> Date: Sat, 11 Mar 2017 14:28:17 +0100 Subject: Fix tab indentation --- budget/models.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'budget/models.py') diff --git a/budget/models.py b/budget/models.py index 8f570fb..1da4489 100644 --- a/budget/models.py +++ b/budget/models.py @@ -255,11 +255,11 @@ class Bill(db.Model): def pay_each(self): """Compute what each share has to pay""" - if self.owers: - # FIXME: SQL might dot that more efficiently - return self.amount / sum(i.weight for i in self.owers) - else: - return 0 + if self.owers: + # FIXME: SQL might dot that more efficiently + return self.amount / sum(i.weight for i in self.owers) + else: + return 0 def __repr__(self): return "" % (self.amount, -- cgit v1.1