wrong keyword
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user