fix(retroachievements): fix indentation in native-hash dispatch

The review suggestion collapsing the dispatch into a conditional
expression landed with a mis-indented line, which broke module parsing.
Keep the conditional-expression form, formatted.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Spinnich
2026-07-04 11:45:40 +00:00
parent 03817dce94
commit a64e83feb3

View File

@@ -235,7 +235,14 @@ class RAHasherService:
if platform["ra_id"] in (NGC_RA_ID, WII_RA_ID) and is_rvz_native_hash_file(
file_path
):
native_hash = await asyncio.to_thread(calculate_gamecube_ra_hash if platform["ra_id"] == NGC_RA_ID else calculate_wii_ra_hash, file_path)
native_hash = await asyncio.to_thread(
(
calculate_gamecube_ra_hash
if platform["ra_id"] == NGC_RA_ID
else calculate_wii_ra_hash
),
file_path,
)
if native_hash:
log.debug(
f"Computed native {hl('RA', color=LIGHTMAGENTA)} hash for "