From 24bf2124b166fc25b090bd737c26e4c442044d99 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: Fri, 24 Apr 2026 17:08:49 +0300 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=813?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scheduler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scheduler.py b/scheduler.py index 370a429..4c1d5db 100644 --- a/scheduler.py +++ b/scheduler.py @@ -316,7 +316,7 @@ def live_match_worker(match_row: dict, stop_event: threading.Event) -> None: break try: - data = fetch_match_live_data(match_id) + data = fetch_match_live_data(external_id) errors_in_row = 0 except NotImplementedError: log(f"[worker] fetch_match_live_data() is not implemented for match_id={match_id}") @@ -393,7 +393,7 @@ def watch_today_matches_once() -> None: log(f"[matches_loop] today matches found: {len(matches)}") for match_row in matches: - match_id = match_row["external_id"] + match_id = match_row["id"] if not should_start_worker(match_row, now_naive): continue