Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/beeracademy/web
Browse files Browse the repository at this point in the history
  • Loading branch information
tyilo committed Feb 1, 2024
2 parents c185e4f + 239cb0c commit 344ed97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion games/achievements.py
Expand Up @@ -47,7 +47,7 @@ class Top10Achievement(Achievement):

def has_achieved(user):
current_season = Season.current_season()
for i in range(1, current_season.number + 1):
for i in range(1, current_season.number): # Exclude current season
top10 = (
PlayerStat.objects.filter(season_number=i)
.order_by("-total_sips")[:10]
Expand Down

0 comments on commit 344ed97

Please sign in to comment.