mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +08:00
Encoding fix.
This commit is contained in:
parent
f0a0d14c28
commit
347fe5ce3c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user