Minor template refactor and cli.py user interface enhancement #5

Closed
subnixr wants to merge 15 commits from (deleted):cosette into master
Showing only changes of commit 8c4540e82c - Show all commits

5
cli.py
View File

@ -23,7 +23,10 @@ def get_total(transaction):
def get_income(event): def get_income(event):
return sum(get_total(t) for t in event.transactions) if event.transactions:
return sum(get_total(t) for t in event.transactions)
else:
return 0
@click.group() @click.group()