mirror of
https://github.com/python/cpython.git
synced 2025-11-27 05:44:16 +00:00
Encoding fix.
This commit is contained in:
parent
f0a0d14c28
commit
347fe5ce3c
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue