From f214da146daf305df5babdf646de5215ab76dcca Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Wed, 10 Feb 2016 14:04:18 +0100 Subject: [PATCH] =?utf8?q?[bde/credits=5Fduplicates]=20Encoding=20(piping?= =?utf8?q?=20needs=E2=80=A6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bde/credits_duplicates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bde/credits_duplicates.py b/bde/credits_duplicates.py index 8d32ae2..3669e8e 100755 --- a/bde/credits_duplicates.py +++ b/bde/credits_duplicates.py @@ -133,7 +133,7 @@ def interactive(blocks, cur, args): if not args.noless: p = subprocess.Popen(["less"], stdin=subprocess.PIPE) p.communicate(formatted.encode("utf-8")) - print formatted + print formatted.encode("utf-8") print "IDs : %s" % b idkeep = lb[0] question = "Ne garder que %s (= dévalider les autres) ? [o/N/s]" % idkeep -- 2.39.2