This commit is contained in:
marco
2020-02-10 22:48:31 +01:00
parent e50c5f0079
commit 485ce9850f
4 changed files with 4 additions and 7 deletions

View File

@@ -74,7 +74,7 @@ def blob_hash(stream, size):
while True:
# We read just 64K at a time to be kind to
# runtime storage requirements.
data = stream.read(65536).encode('ascii')
data = stream.read(65536)
if data == b'':
break
nread += len(data)