Update 'osuRepy/replay.py'

This commit is contained in:
Emily 2019-09-01 13:55:19 +00:00
parent 65436df5d0
commit 8b7ebbe7e0

View File

@ -34,7 +34,7 @@ def md5_file(file):
hash = _md5()
for chunk in iter(lambda: file.read(4096), b""):
hash.update(chunk)
return hash.hexdigest()
return hash.hexdigest().encode()
def append_and_compress(data):
return lzma_compress(data + b"-12345|0|0|1337,")