perf
This commit is contained in:
@@ -370,7 +370,6 @@ def run():
|
|||||||
("BUF", "nhl"),
|
("BUF", "nhl"),
|
||||||
("TOR", "mlb"),
|
("TOR", "mlb"),
|
||||||
("LAL", "nba"),
|
("LAL", "nba"),
|
||||||
("SEA", "nfl")
|
|
||||||
]
|
]
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
@@ -379,7 +378,6 @@ def run():
|
|||||||
if now - last_fetch > 30 or len(games) <= 0:
|
if now - last_fetch > 30 or len(games) <= 0:
|
||||||
games = get_all_scores()
|
games = get_all_scores()
|
||||||
last_fetch = now
|
last_fetch = now
|
||||||
print(games)
|
|
||||||
|
|
||||||
if games:
|
if games:
|
||||||
canvas.Clear()
|
canvas.Clear()
|
||||||
|
|||||||
Reference in New Issue
Block a user