From d256f08c6a7279489440d081e31355f99bee88ae Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 2 Apr 2014 11:01:06 +0200 Subject: convwatch.py: decode bytes before printing Change-Id: Ic1b115583415ab9bd2bdb18fa55f61803efc8442 --- bin/convwatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/convwatch.py b/bin/convwatch.py index 283e67e52581..c60c0fad5b98 100644 --- a/bin/convwatch.py +++ b/bin/convwatch.py @@ -327,7 +327,7 @@ def identify(imagefile): if process.wait() != 0: raise Exception("identify failed") if result.partition(b"\n")[0] != b"1": - print("identify result: " + result) + print("identify result: " + result.decode('utf-8')) print("DIFFERENCE in " + imagefile) def compose(refimagefile, imagefile, diffimagefile): -- cgit