Skip to content

Commit

Permalink
Fixing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
elicwhite committed Aug 16, 2016
1 parent 6fa57fe commit 7d0da5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pokemongo_bot/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def all(self):

def add(self, pokemon):
if pokemon.id <= 0:
raise ValueError("Can't add a pokemin whitout id")
raise ValueError("Can't add a pokemon without id")
if pokemon.id in self._data:
raise ValueError("Pokemon already present in the inventory")
self._data[pokemon.id] = pokemon
Expand Down

0 comments on commit 7d0da5a

Please sign in to comment.