Skip to content

Commit

Permalink
Fix dud string
Browse files Browse the repository at this point in the history
  • Loading branch information
heshammourad committed Sep 24, 2024
1 parent 73e0c75 commit 1d5adea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion messages/leaderboards.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def get_trophies(league):
dud_text = f'*{dud[1].name}* - {utils.get_team(dud[0])} underperformed projection by *{
utils.format_number(dud[1].projected_points - dud[1].points, decimal_places=2)}*'
if duds:
dud_text += f' in a ${utils.format_number(dud[2], decimal_places=2)} loss'
dud_text += f' in a {utils.format_number(abs(dud[2]), decimal_places=2)} loss'
trophies_values.append(dud_text)

# Benchwarmer
Expand Down

0 comments on commit 1d5adea

Please sign in to comment.