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