return first item?

This commit is contained in:
2026-05-05 16:53:08 -04:00
parent 5ed0bdf643
commit c18382f370
+1 -2
View File
@@ -404,8 +404,7 @@ def run():
last_switch = now
print(preferred_games[current_preferred_game])
single_preferred_game = [g for g in games if preferred_games[current_preferred_game] == g['id']]
print(single_preferred_game)
draw_single_game(canvas, single_preferred_game)
draw_single_game(canvas, single_preferred_game[0])
else:
# no games available, just draw placeholder
graphics.DrawText(canvas, font, 10, 22, graphics.Color(*Colors.RED.value), "No games today")