Commit b124d3d1 authored by Baptiste Jonglez's avatar Baptiste Jonglez
Browse files

Fix a typo

parent bfdb454b
......@@ -27,7 +27,7 @@ class Command(BaseCommand):
with respect_language(settings.LANGUAGE_CODE):
invoices = create_all_members_invoices_for_a_period(date)
if invoices > 0 or verbosity >= 2:
if len(invoices) > 0 or verbosity >= 2:
self.stdout.write(
u'%d invoices were created' % len(invoices))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment