Skip to content
This repository was archived by the owner on May 18, 2024. It is now read-only.

Commit 257004a

Browse files
author
User Name
committed
cleaned debug messages
1 parent f572f19 commit 257004a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/data/data.py

+2-5
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,6 @@ def refresh_games(self):
290290
TODO:
291291
Add the option to start the earliest game in the preferred game list but change to the top one as soon as it start.
292292
"""
293-
294293
attempts_remaining = 5
295294
while attempts_remaining > 0:
296295
try:
@@ -313,16 +312,15 @@ def refresh_games(self):
313312
team_info.next_game = ng
314313
except:
315314
pass
316-
print("probe 2")
315+
317316
if self.config.preferred_teams_only and self.pref_teams:
318317
self.games = self.pref_games
319-
print("probe 3")
318+
320319
if not self.is_pref_team_offday() and self.config.live_mode:
321320
#self.pref_games = prioritize_pref_games(self.pref_games, self.pref_teams)
322321
self.check_all_pref_games_final()
323322
# TODO: This shouldn't be needed to get the fact that your preferred team has a game today
324323
self.check_game_priority()
325-
print("probe 4")
326324
self.network_issues = False
327325
break
328326

@@ -334,7 +332,6 @@ def refresh_games(self):
334332
sleep(NETWORK_RETRY_SLEEP_TIME)
335333

336334
except IndexError as error_message:
337-
print("probe 5")
338335
debug.error(error_message)
339336
debug.info("All preferred games are Final, showing the top preferred game")
340337
#self.current_game_index = 0

0 commit comments

Comments
 (0)