Skip to content

Commit

Permalink
[Trivia] Remove an unnecessary .format (#4175)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flame442 authored and Jackenmen committed Aug 9, 2020
1 parent b328138 commit d8d3e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redbot/cogs/trivia/trivia.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ def _get_leaderboard(data: dict, key: str, top: int):
)
padding = [" " * (len(h) - len(f)) for h, f in zip(headers, fields)]
fields = tuple(f + padding[i] for i, f in enumerate(fields))
lines.append(" | ".join(fields).format(member=member, **m_data))
lines.append(" | ".join(fields))
if rank == top:
break
return "\n".join(lines)
Expand Down

0 comments on commit d8d3e9f

Please sign in to comment.