Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gobberwart committed Sep 19, 2016
1 parent bf17c33 commit 0aa4b42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pokemongo_bot/event_handlers/chat_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def get_event(self, event, formatted_msg, data):
if event == 'level_up':
msg = "level up ({})".format(data["current_level"])
elif event == 'pokemon_caught':
trigger = None
if data["pokemon"] in self.pokemons:
trigger = self.pokemons[data["pokemon"]]
elif "all" in self.pokemons:
Expand Down

0 comments on commit 0aa4b42

Please sign in to comment.