行星解释里的六维力量合计改读已经算出的 rupa 总分。有总分时不再写成「未列出」。

Co-Authored-By: Grok (agent loop)
This commit is contained in:
jesse-ux
2026-10-23 10:17:34 +08:00
co-authored by Grok (agent loop)
parent 355946cd1a
commit 39468f126c
3 changed files with 29 additions and 1 deletions
+5 -1
View File
@@ -797,7 +797,11 @@ def build_graha_interpretation_pack(
if language == "en" and re.search(r"[\u4e00-\u9fff]", str(sign or "")):
sign = "not listed separately"
strength = _dict(_dict(strength_snapshot.get("planets")).get(planet))
total = strength.get("total") or strength.get("total_shadbala")
total = strength.get("total")
if total is None:
total = strength.get("total_shadbala")
if total is None:
total = strength.get("total_rupas")
active_text = planet in active
if language == "zh":
sections = {