Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix for #4714 #4728

Merged
merged 1 commit into from
Aug 25, 2016
Merged

Conversation

alexyaoyang
Copy link
Contributor

Hotfix for #4714

Traceback (most recent call last):
  File "pokecli.py", line 705, in <module>
    main()
  File "pokecli.py", line 118, in main
    bot.tick()
  File "/Users/alex/Documents/PoGoMap/PokemonGo-Bot/pokemongo_bot/__init__.py", line 610, in tick
    if worker.work() == WorkerResult.RUNNING:
  File "/Users/alex/Documents/PoGoMap/PokemonGo-Bot/pokemongo_bot/cell_workers/catch_pokemon.py", line 44, in work
    if self.catch_pokemon(self.pokemon.pop()) == WorkerResult.ERROR:
  File "/Users/alex/Documents/PoGoMap/PokemonGo-Bot/pokemongo_bot/cell_workers/catch_pokemon.py", line 138, in catch_pokemon
    return_value = worker.work()
  File "/Users/alex/Documents/PoGoMap/PokemonGo-Bot/pokemongo_bot/cell_workers/pokemon_catch_worker.py", line 171, in work
    self._do_catch(pokemon, encounter_id, catch_rate_by_ball, is_vip=is_vip)
  File "/Users/alex/Documents/PoGoMap/PokemonGo-Bot/pokemongo_bot/cell_workers/pokemon_catch_worker.py", line 554, in _do_catch
    sleep (randrange(catchsim_newtodex_wait_min, catchsim_newtodex_wait_max))
NameError: global name 'catchsim_newtodex_wait_min' is not defined

@mention-bot
Copy link

@alexyaoyang, thanks for your PR! By analyzing the annotation information on this pull request, we identified @mjmadsen, @pokepal and @BreezeRo to be potential reviewers

@alexyaoyang alexyaoyang merged commit f642926 into PokemonGoF:dev Aug 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants