diff --git a/src/llm/slices/standings.py b/src/llm/slices/standings.py index 4092c32..e580927 100644 --- a/src/llm/slices/standings.py +++ b/src/llm/slices/standings.py @@ -59,7 +59,7 @@ async def standings_slice(header: MatchHeader, *, before=None, db: AsyncSession n_records = 0 def _fmt(row) -> str: - zg = f" xG差 {row.xgd:+.1f}" if row.xg_for is not None and row.xg_against is not None and row.goal_diff is not None else "" + zg = f" xG差 {row.xg_for - row.xg_against:+.1f}" if row.xg_for is not None and row.xg_against is not None else "" form = f" 近5场 {row.form}" if row.form else "" zone = f" [{row.zone}]" if row.zone else "" return (