From 2df9c976083a974022f00f2530eafe2e5489531d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=AE=D1=80=D0=B8=D0=B9=20=D0=A7=D0=B5=D1=80=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=BA=D0=BE?= Date: Sat, 16 May 2026 15:03:56 +0300 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=815?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scheduler.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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} # =========================================================