Skip to content

Commit

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

box_scores = league.box_scores()
for matchup in box_scores:
if matchup.away_team == 0:
continue
away_score = matchup.away_score
home_score = matchup.home_score
scores = [utils.format_number(score, target_length=3, decimal_places=2)
Expand Down

0 comments on commit c0c39c0

Please sign in to comment.