mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 17:33:30 -05:00
fix: parse member md5 lists one way
This commit is contained in:
1 parent
dbd47886ce
commit
0c53d165c1
4 files changed
+40
-6
No files matched your search
@@ -703,7 +703,7 @@ def inner_rom_check(file_entry: dict, local_path: str) -> str:
|
||||
matches, else for the last one tried. The pack and the install manifest
|
||||
both read it, so a file one of them ships is a file the other lists.
|
||||
"""
|
||||
declared = [m.strip() for m in file_entry.get("md5", "").split(",") if m.strip()]
|
||||
declared = parse_md5_list(file_entry.get("md5"))
|
||||
result = "not_in_zip"
|
||||
for candidate in declared or [""]:
|
||||
result = check_inside_zip(local_path, file_entry["zipped_file"], candidate)
|
||||
|
||||
Reference in new issue
Block a user