From 63bb7705d02366502a070cdb22e3e675cc19def7 Mon Sep 17 00:00:00 2001 From: Glandos Date: Wed, 23 Jun 2021 23:02:59 +0200 Subject: [PATCH] clearer comment --- ihatemoney/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ihatemoney/models.py b/ihatemoney/models.py index 325dfc14..bd5b3465 100644 --- a/ihatemoney/models.py +++ b/ihatemoney/models.py @@ -282,7 +282,7 @@ class Project(db.Model): bill.converted_amount = CurrencyConverter().exchange_currency( bill.amount, bill.original_currency, new_currency ) - # Add the currency for previously un-currency-ied + # Add the currency for bills that were created without currency if bill.original_currency == CurrencyConverter.no_currency: bill.original_currency = new_currency db.session.add(bill)