From a64e83feb372945c19410ebccf3028162562bcfe Mon Sep 17 00:00:00 2001 From: Spinnich Date: Sat, 4 Jul 2026 11:45:40 +0000 Subject: [PATCH] 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 --- backend/adapters/services/rahasher.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/backend/adapters/services/rahasher.py b/backend/adapters/services/rahasher.py index 6f9c27a67..6a5db6705 100644 --- a/backend/adapters/services/rahasher.py +++ b/backend/adapters/services/rahasher.py @@ -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 "