Skip to content

Commit

Permalink
Change word usage: "fled" to "escaped" (#3118)
Browse files Browse the repository at this point in the history
"fled" is confusing to lot of people and is easily confused with pokemon vanishing. "escaped" is a better term.
  • Loading branch information
DeviousFusion authored and elicwhite committed Aug 8, 2016
1 parent a5e9131 commit d8546d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pokemongo_bot/cell_workers/pokemon_catch_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,8 @@ def work(self, response_dict=None):
'CATCH_POKEMON']['status']
if status is 2:
self.emit_event(
'pokemon_fled',
formatted="{pokemon} fled.",
'pokemon_escaped',
formatted="{pokemon} escaped.",
data={'pokemon': pokemon_name}
)
sleep(2)
Expand Down

1 comment on commit d8546d7

@fe-ax
Copy link

@fe-ax fe-ax commented on d8546d7 Aug 8, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Traceback (most recent call last):
File "pokecli.py", line 503, in
main()
File "pokecli.py", line 89, in main
bot.tick()
File "/web/PokemonGo-Bot/pokemongo_bot/init.py", line 441, in tick
if worker.work() == WorkerResult.RUNNING:
File "/web/PokemonGo-Bot/pokemongo_bot/cell_workers/catch_visible_pokemon.py", line 36, in work
return self.catch_pokemon(self.bot.cell['catchable_pokemons'].pop(0))
File "/web/PokemonGo-Bot/pokemongo_bot/cell_workers/catch_visible_pokemon.py", line 48, in catch_pokemon
return_value = worker.work()
File "/web/PokemonGo-Bot/pokemongo_bot/cell_workers/pokemon_catch_worker.py", line 329, in work
data={'pokemon': pokemon_name}
File "/web/PokemonGo-Bot/pokemongo_bot/base_task.py", line 27, in emit_event
data=data
File "/web/PokemonGo-Bot/pokemongo_bot/event_manager.py", line 52, in emit
raise EventNotRegisteredException("Event %s not registered..." % event)
pokemongo_bot.event_manager.EventNotRegisteredException: Event pokemon_escaped not registered...

Please sign in to comment.