diff --git a/pyZUnivers/achievements.py b/pyZUnivers/achievements.py index 16e8a59..8958c5b 100644 --- a/pyZUnivers/achievements.py +++ b/pyZUnivers/achievements.py @@ -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