diff --git a/scheduler.py b/scheduler.py index 876705e..7650522 100644 --- a/scheduler.py +++ b/scheduler.py @@ -218,9 +218,9 @@ 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} # =========================================================