Skip to content

Commit

Permalink
Handle bye weeks
Browse files Browse the repository at this point in the history
  • Loading branch information
heshammourad committed Dec 12, 2024
1 parent d051b13 commit 7fd07b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions messages/schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ def get(league):

for matchup in matchups:
away_team = matchup.away_team
if away_team == 0:
continue
home_team = matchup.home_team
away_abbrev = away_team.team_abbrev
home_abbrev = home_team.team_abbrev
Expand Down

0 comments on commit 7fd07b5

Please sign in to comment.