From e9504c760701ba588a4848a83571f9cd6761a744 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Thu, 8 Oct 2015 22:25:08 +0200 Subject: [PATCH] =?utf8?q?[bde]=20depenses.py=20:=20inversion=20gains/d?= =?utf8?q?=C3=A9penses?= 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 bff85ea..fff63d3 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\tdepenses\tgains" % (idbde, month) + print "Compte %s:\nannee%s\tgains\t\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\tdepenses\tgains" + print "\nTotal :\n\tgains\t\tdépenses" print "\t%s\t\t%s\n" % tuple(tot) if __name__ == "__main__": -- 2.39.2