Skip to content

Commit

Permalink
safety
Browse files Browse the repository at this point in the history
  • Loading branch information
bnm91 committed Oct 26, 2023
1 parent 0aef069 commit ed238bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion espn_api/base_league.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def _fetch_league(self, SettingsClass = BaseSettings):
else:
self.current_week = self.scoringPeriodId if self.scoringPeriodId <= data['status']['finalScoringPeriod'] else data['status']['finalScoringPeriod']
self.settings = SettingsClass(data['settings'])
self.members = data['members']
self.members = data.get('members', [])
return data

def _fetch_teams(self, data, TeamClass, pro_schedule = None):
Expand Down

0 comments on commit ed238bc

Please sign in to comment.