From acae47dc79d3b2746ce38a3754d5f79ebb0162c0 Mon Sep 17 00:00:00 2001 From: pictuga Date: Mon, 6 Apr 2015 23:27:15 +0800 Subject: [PATCH] 2to3: fix cli_app string print --- morss/morss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss/morss.py b/morss/morss.py index a8a08ac..f309074 100644 --- a/morss/morss.py +++ b/morss/morss.py @@ -668,7 +668,7 @@ def cli_app(): out = Format(rss, options) if not options.silent: - print(out) + print(out.decode('utf-8', 'replace') if isinstance(out, bytes) else out) log('done')