From 61f397076cfba4e24fc81de1fb9315b36334693c Mon Sep 17 00:00:00 2001 From: Alex Frantz Date: Tue, 5 May 2026 16:51:27 -0400 Subject: [PATCH] pass correct thing --- scoreboard.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scoreboard.py b/scoreboard.py index 08cc6a5..e1220ae 100644 --- a/scoreboard.py +++ b/scoreboard.py @@ -403,7 +403,8 @@ def run(): last_switch = now print(preferred_games[current_preferred_game]) - draw_single_game(canvas, preferred_games[current_preferred_game]) + single_preferred_game = [g for g in games where preferred_games[current_preferred_game] == g['id']] + draw_single_game(canvas, single_preferred_game) else: # no games available, just draw placeholder graphics.DrawText(canvas, font, 10, 22, graphics.Color(*Colors.RED.value), "No games today")