line breaks

This commit is contained in:
chris 2020-11-05 16:37:01 +01:00
parent f1bc9408db
commit eee96d14b3

View file

@ -33,10 +33,10 @@ class BudgetBot(object):
reply = "Invalid budget name" reply = "Invalid budget name"
else: else:
reply = "Budget *{}*\n".format(budget[0]['name']) reply = "Budget *{}*\n".format(budget[0]['name'])
reply += " Available current month: {:.2f}".format(budget[0].get('limit')) reply += " Available current month: {:.2f}\n".format(budget[0].get('limit'))
reply += " Average per day: {:.2f}".format(budget[0].get('average_per_day')) reply += " Average per day: {:.2f}\n".format(budget[0].get('average_per_day'))
reply += " Spent: {:.2f}\n".format(budget[0].get('spent')) reply += " Spent: {:.2f}\n".format(budget[0].get('spent'))
reply += " Spent per day: {:.2f}".format(budget[0].get('spent_per_day')) reply += " Spent per day: {:.2f}\n".format(budget[0].get('spent_per_day'))
reply += " Remaining: {:.2f}\n".format(budget[0].get('remaining')) reply += " Remaining: {:.2f}\n".format(budget[0].get('remaining'))
reply += " Remaining per day: {:.2f}".format(budget[0].get('remaining_per_day')) reply += " Remaining per day: {:.2f}".format(budget[0].get('remaining_per_day'))
else: else: