diff --git a/Demo/md5test/md5driver.py b/Demo/md5test/md5driver.py index 7df3e757b09..7f561aba407 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)