diff options
author | Georg Brandl <georg@python.org> | 2010-10-27 07:21:54 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-27 07:21:54 (GMT) |
commit | 347fe5ce3c119f30bd228d5e2678fee5013ca052 (patch) | |
tree | dfc3e0cea2c26d783c9977d09592e3ca7962db80 /Demo | |
parent | f0a0d14c28fe9ba9bd56a570ec681b182b26afc2 (diff) | |
download | cpython-347fe5ce3c119f30bd228d5e2678fee5013ca052.zip cpython-347fe5ce3c119f30bd228d5e2678fee5013ca052.tar.gz cpython-347fe5ce3c119f30bd228d5e2678fee5013ca052.tar.bz2 |
Encoding fix.
Diffstat (limited to 'Demo')
-rw-r--r-- | Demo/md5test/md5driver.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |