Skip to content

Commit

Permalink
Merge pull request #49 from jackbrown1993/fix_a_minor_typo
Browse files Browse the repository at this point in the history
Fixes a small typo
  • Loading branch information
Coffee-fueled-deadlines committed Nov 10, 2023
2 parents 9396e8d + 9e8a38b commit 486fe01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OSRSBytes/Hiscores.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def skill(self, skill, stype: str = 'level'):
"""
try:
if stype.lower() not in ['rank','level','experience','exp_to_next_level']:
raise SkillError("stype must be 'rank','level', or experience'")
raise SkillError("stype must be 'rank','level', or 'experience'")
else:
return self.stats[self.username][skill.lower()][stype.lower()]
except KeyError as KE:
Expand Down

0 comments on commit 486fe01

Please sign in to comment.