Encoding fix.

This commit is contained in:
Georg Brandl 2010-10-27 07:21:54 +00:00
parent f0a0d14c28
commit 347fe5ce3c
1 changed files with 1 additions and 1 deletions

View File

@ -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)