aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'ihatemoney/forms.py')
-rw-r--r--ihatemoney/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ihatemoney/forms.py b/ihatemoney/forms.py
index e4a32d0..f6e8961 100644
--- a/ihatemoney/forms.py
+++ b/ihatemoney/forms.py
@@ -44,7 +44,7 @@ def get_billform_for(project, set_default=True, **kwargs):
"""
form = BillForm(**kwargs)
- if form.original_currency.data == "None":
+ if form.original_currency.data is None:
form.original_currency.data = project.default_currency
show_no_currency = form.original_currency.data == CurrencyConverter.no_currency