This repository was archived by the owner on May 18, 2024. It is now read-only.
File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,6 @@ def refresh_games(self):
290
290
TODO:
291
291
Add the option to start the earliest game in the preferred game list but change to the top one as soon as it start.
292
292
"""
293
-
294
293
attempts_remaining = 5
295
294
while attempts_remaining > 0 :
296
295
try :
@@ -313,16 +312,15 @@ def refresh_games(self):
313
312
team_info .next_game = ng
314
313
except :
315
314
pass
316
- print ( "probe 2" )
315
+
317
316
if self .config .preferred_teams_only and self .pref_teams :
318
317
self .games = self .pref_games
319
- print ( "probe 3" )
318
+
320
319
if not self .is_pref_team_offday () and self .config .live_mode :
321
320
#self.pref_games = prioritize_pref_games(self.pref_games, self.pref_teams)
322
321
self .check_all_pref_games_final ()
323
322
# TODO: This shouldn't be needed to get the fact that your preferred team has a game today
324
323
self .check_game_priority ()
325
- print ("probe 4" )
326
324
self .network_issues = False
327
325
break
328
326
@@ -334,7 +332,6 @@ def refresh_games(self):
334
332
sleep (NETWORK_RETRY_SLEEP_TIME )
335
333
336
334
except IndexError as error_message :
337
- print ("probe 5" )
338
335
debug .error (error_message )
339
336
debug .info ("All preferred games are Final, showing the top preferred game" )
340
337
#self.current_game_index = 0
You can’t perform that action at this time.
0 commit comments