Commit 2b202a02 authored by Rémi FERRAND ⛰'s avatar Rémi FERRAND ⛰
Browse files

Fix minor display bug with '--latest'

parent 60586646
......@@ -273,7 +273,11 @@ class FreeAdslBillFetcherCli(object):
def run(this):
wanted_bills = len(this.options.wanted_bills)
table_output = True if wanted_bills == 0 else False
if wanted_bills == 0 or this.options.fetch_latest:
table_output = False
else:
table_output = True
for bill in this.fetcher.listBills():
......
Markdown is supported
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