фикс5

This commit is contained in:
2026-05-16 15:03:56 +03:00
parent 685fcdabef
commit 2df9c97608

View File

@@ -218,8 +218,8 @@ def fetch_match_live_data(match_id: int) -> dict:
if live:
return {"status": "live", "home_score": home, "away_score": away}
# else:
# if home and away:
# return {"status": "finished", "home_score": home, "away_score": away}
if home and away:
return {"status": "finished", "home_score": home, "away_score": away}
return {"status": "scheduled", "home_score": home, "away_score": away}