summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Demo/md5test/md5driver.py2
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)