Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the bug crashing leaderboards from anonymous users #185

Merged
merged 1 commit into from
Nov 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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