mirror of
https://github.com/Death916/deathclock.git
synced 2026-04-10 03:04:40 -07:00
fixed try
This commit is contained in:
parent
747af41ddc
commit
de62412e8a
1 changed files with 16 additions and 18 deletions
|
|
@ -62,7 +62,6 @@ class mlbScores:
|
||||||
return []
|
return []
|
||||||
|
|
||||||
def get_scores(self):
|
def get_scores(self):
|
||||||
try:
|
|
||||||
games = self.get_games()
|
games = self.get_games()
|
||||||
scores_list = []
|
scores_list = []
|
||||||
for game in games:
|
for game in games:
|
||||||
|
|
@ -78,7 +77,6 @@ class mlbScores:
|
||||||
except KeyError as e:
|
except KeyError as e:
|
||||||
print(f"Error processing game data: {e}")
|
print(f"Error processing game data: {e}")
|
||||||
continue
|
continue
|
||||||
self._scores = scores_list
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue