Skip to content

Commit

Permalink
fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
cwendt94 committed May 12, 2021
1 parent 07c17ab commit 266fb72
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 @@ -86,7 +86,7 @@ def _get_pro_schedule(self, scoringPeriodId: int = None):
for team in pro_teams:
pro_game = team.get('proGamesByScoringPeriod', {})
if team['id'] != 0 and (str(scoringPeriodId) in pro_game.keys() and pro_game[str(scoringPeriodId)]):
game_data =pro_game[str(scoringPeriodId)][0]
game_data = pro_game[str(scoringPeriodId)][0]
pro_team_schedule[team['id']] = (game_data['homeProTeamId'], game_data['date']) if team['id'] == game_data['awayProTeamId'] else (game_data['awayProTeamId'], game_data['date'])
return pro_team_schedule

Expand Down

0 comments on commit 266fb72

Please sign in to comment.