fix boolean
This commit is contained in:
+1
-2
@@ -142,7 +142,6 @@ def draw_single_game(canvas, game):
|
||||
)
|
||||
|
||||
def run_board(canvas, matrix):
|
||||
|
||||
# preferred games
|
||||
current_preferred_game = 0
|
||||
preferred_games = []
|
||||
@@ -161,7 +160,7 @@ def run_board(canvas, matrix):
|
||||
last_switch = time()
|
||||
show_preferred = True
|
||||
|
||||
while true:
|
||||
while True:
|
||||
now = time()
|
||||
|
||||
if now - last_fetch > 30 or len(games) <= 0:
|
||||
|
||||
Reference in New Issue
Block a user