From 03ce000e9a7edc6989bc3d40243f769746ea3d22 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Sat, 12 Mar 2011 20:57:22 +0000 Subject: [PATCH] fix typos --- budget/budget.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/budget/budget.py b/budget/budget.py index 53f6b846..e22b053f 100644 --- a/budget/budget.py +++ b/budget/budget.py @@ -34,7 +34,7 @@ class Bill(db.Model): processed = db.Column(db.Boolean, default=False) def pay_each(self): - """Compute what each person have to pay""" + """Compute what each person has to pay""" return round(self.amount / len(self.owers), 2) def __repr__(self): @@ -58,7 +58,7 @@ class BillForm(Form): what = TextField("What?", validators=[Required()]) payer = SelectField("Payer", validators=[Required()], choices=PAYER_CHOICES) amount = DecimalField("Amount payed", validators=[Required()]) - payed_for = SelectMultipleField("Who have to pay for this?", validators=[Required()], choices=PAYER_CHOICES) + payed_for = SelectMultipleField("Who has to pay for this?", validators=[Required()], choices=PAYER_CHOICES) submit = SubmitField("Add the bill")