mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-30 05:18:51 -06:00
refactor: define the pack suffix once
packs.parts held a second PACK_SUFFIX and five builders typed the literal; all read model.releaserecord.PACK_SUFFIX.
This commit is contained in:
1 parent
71b3d7db63
commit
f5946a7845
5 files changed
+11
-10
No files matched your search
@@ -51,7 +51,7 @@ def _pack_version(pack_name: str, platforms: list[str]) -> str:
|
||||
"""
|
||||
from packs.naming import platform_pack_prefix
|
||||
|
||||
stem = pack_name.removesuffix("_BIOS_Pack.zip")
|
||||
stem = pack_name.removesuffix(releaserecord.PACK_SUFFIX)
|
||||
prefix = platform_pack_prefix(
|
||||
platforms, platforms[0], str(siteinputs.current().platforms)
|
||||
) + "_"
|
||||
|
||||
Reference in new issue
Block a user