From 347fe5ce3c119f30bd228d5e2678fee5013ca052 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 27 Oct 2010 07:21:54 +0000 Subject: Encoding fix. --- Demo/md5test/md5driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Demo/md5test/md5driver.py b/Demo/md5test/md5driver.py index 7df3e75..7f561ab 100644 --- a/Demo/md5test/md5driver.py +++ b/Demo/md5test/md5driver.py @@ -80,7 +80,7 @@ def MDFilter(): mdContext = md5() while 1: - data = sys.stdin.read(16) + data = sys.stdin.read(16).encode() if not data: break mdContext.update(data) -- cgit v0.12