Skip to content

Commit

Permalink
fix: achievement yearly false
Browse files Browse the repository at this point in the history
  • Loading branch information
MalikAza committed Jul 15, 2024
1 parent 1117bff commit 076c1e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyZUnivers/achievements.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_yearly(self, year: int) -> bool|int:
achievement = [x for x in category if x["achievement"]["id"] == YEARLY_ACHIEVEMENT_IDS[year-1]][0]

# achievement unlocked
progress = achievement['progress']
progress = achievement['progress'] if 'progress' in achievement else None
if not progress: return False

# achievement locked
Expand Down

0 comments on commit 076c1e9

Please sign in to comment.