Skip to content

Commit

Permalink
Fixed the bug crashing leaderboards from anonymous users
Browse files Browse the repository at this point in the history
  • Loading branch information
49Indium committed Nov 30, 2023
1 parent eef73e8 commit e8557d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uqcsbot/utils/advent_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self, id: int, name: str, local: int, star_total: int, global_: int
# The advent of code id
self.id = id
# The advent of code name
self.name = name
self.name = name if name else "Anon"
# The score of the user on the local leaderboard
self.local = local
# The total number of stars the user has collected
Expand Down

0 comments on commit e8557d1

Please sign in to comment.