mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 01:13:30 -05:00
fix: count romset members on the Wanted page
This commit is contained in:
1 parent
5cb79bb2f7
commit
d01c1b7085
2 files changed
+24
-1
No files matched your search
@@ -84,7 +84,10 @@ def build_report(db: dict, snapshots: dict, members: dict | None = None) -> dict
|
||||
split the target list is swamped by content the project never ships.
|
||||
"""
|
||||
by_sha1 = db.get("files", {})
|
||||
members = members or {}
|
||||
# The members a romset holds are held too, whoever asks: the site built
|
||||
# its Wanted page without them and asked the public for the Astrocade
|
||||
# and Gamate BIOS that astrocdw.zip and gamate.zip already carry.
|
||||
members = archive_members(db) if members is None else members
|
||||
by_md5_size = {
|
||||
(entry.get("md5", ""), entry.get("size", 0)) for entry in by_sha1.values()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user