From c2c0d250a01485be9e04d73cf1ace6cd166984c6 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Mon, 29 Feb 2016 20:38:34 +0100 Subject: [PATCH] =?utf8?q?J'ai=20vraiment=20du=20mal=20avec=20gains/d?= =?utf8?q?=C3=A9penses=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bde/stats/depenses.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bde/stats/depenses.py b/bde/stats/depenses.py index a5b02c4..d790975 100755 --- a/bde/stats/depenses.py +++ b/bde/stats/depenses.py @@ -68,7 +68,7 @@ def get_depenses(idbde, bymonth=False): def display_depenses(idbde, all, tot, bymonth=False): """Pretty-printing des résultats.""" month = "\tmois" if bymonth else "" - print "Compte %s:\nannee%s\tdépenses\tgains" % (idbde, month) + print "Compte %s:\nannee%s\tgains\tdépenses" % (idbde, month) for li in all: if bymonth: li = [int(li[0]), int(li[1]), li[2], li[3]] @@ -76,7 +76,7 @@ def display_depenses(idbde, all, tot, bymonth=False): else: li = [int(li[0]), li[1], li[2]] print "%s\t%s\t\t%s" % tuple(li) - print "\nTotal :\n\tdépenses\tgains" + print "\nTotal :\n\tgains\tdépenses" print "\t%s\t\t%s\n" % tuple(tot) if __name__ == "__main__": -- 2.39.2