|
@@ -28,7 +28,7 @@ if __name__ == '__main__':
|
|
|
for t in ynab.budgets(budget['id']).transactions.GET('?since_date={}'.format(week_ago)).json()['data']['transactions']:
|
|
|
transactions[t['date']].append(t['amount'])
|
|
|
|
|
|
- # Output speding per day.
|
|
|
+ # Output spending per day.
|
|
|
for date, ts in transactions.items():
|
|
|
total = u'%4.2f €' % abs(sum(ts) / 1000)
|
|
|
logger.info('%s: %s', date, total)
|