fix verify
This commit is contained in:
parent
8f6fd314ef
commit
4192e0fabb
2
Rom.py
2
Rom.py
|
@ -58,7 +58,7 @@ class LocalRom(object):
|
|||
def verify(buffer, expected=RANDOMIZERBASEHASH):
|
||||
buffermd5 = hashlib.md5()
|
||||
buffermd5.update(buffer)
|
||||
return RANDOMIZERBASEHASH == buffermd5.hexdigest()
|
||||
return expected == buffermd5.hexdigest()
|
||||
|
||||
def patch_base_rom(self):
|
||||
from Patch import create_patch_file, create_rom_bytes
|
||||
|
|
Loading…
Reference in New Issue