Encoding fix.

This commit is contained in:
Georg Brandl 2010-10-27 07:21:54 +00:00
parent f0a0d14c28
commit 347fe5ce3c

View file

@ -80,7 +80,7 @@ def MDFilter():
mdContext = md5() mdContext = md5()
while 1: while 1:
data = sys.stdin.read(16) data = sys.stdin.read(16).encode()
if not data: if not data:
break break
mdContext.update(data) mdContext.update(data)