diff --git a/scoreboard.py b/scoreboard.py index e1220ae..83a6f51 100644 --- a/scoreboard.py +++ b/scoreboard.py @@ -403,7 +403,7 @@ def run(): last_switch = now print(preferred_games[current_preferred_game]) - single_preferred_game = [g for g in games where preferred_games[current_preferred_game] == g['id']] + single_preferred_game = [g for g in games if preferred_games[current_preferred_game] == g['id']] draw_single_game(canvas, single_preferred_game) else: # no games available, just draw placeholder