Update 'osuRepy/replay.py'
This commit is contained in:
parent
65436df5d0
commit
8b7ebbe7e0
|
@ -34,7 +34,7 @@ def md5_file(file):
|
||||||
hash = _md5()
|
hash = _md5()
|
||||||
for chunk in iter(lambda: file.read(4096), b""):
|
for chunk in iter(lambda: file.read(4096), b""):
|
||||||
hash.update(chunk)
|
hash.update(chunk)
|
||||||
return hash.hexdigest()
|
return hash.hexdigest().encode()
|
||||||
|
|
||||||
def append_and_compress(data):
|
def append_and_compress(data):
|
||||||
return lzma_compress(data + b"-12345|0|0|1337,")
|
return lzma_compress(data + b"-12345|0|0|1337,")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user