From 20d75cc52eb572f1a8e142ec63c02809f4cfcf03 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 29 Jul 2014 13:32:26 +0200 Subject: [PATCH] Patch for an Issue #767 --- lib/core/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/convert.py b/lib/core/convert.py index 406ef9d5b..4f48de409 100644 --- a/lib/core/convert.py +++ b/lib/core/convert.py @@ -161,7 +161,7 @@ def stdoutencode(data): else: retVal = data.encode(sys.stdout.encoding) except: - retVal = data.encode(UNICODE_ENCODING) + retVal = data.encode(UNICODE_ENCODING) if isinstance(data, unicode) else data return retVal