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

fixed NameError: global name 'pokemon_name' is not defined #3244

Merged
merged 1 commit into from
Aug 9, 2016

Commits on Aug 9, 2016

  1. fixed NameError: global name 'pokemon_name' is not defined

    resolves ```traceback (most recent call last):
      File "pokecli.py", line 521, in <module>
        main()
      File "pokecli.py", line 95, in main
        bot.tick()
      File "/usr/src/app/pokemongo_bot/__init__.py", line 451, in tick
        if worker.work() == WorkerResult.RUNNING:
      File "/usr/src/app/pokemongo_bot/cell_workers/evolve_pokemon.py", line 38, in work
        self._execute_pokemon_evolve(pokemon, cache)
      File "/usr/src/app/pokemongo_bot/cell_workers/evolve_pokemon.py", line 117, in _execute_pokemon_evolve
        cache[pokemon.name] = 1
    NameError: global name 'pokemon_name' is not defined```
    schubter committed Aug 9, 2016
    Configuration menu
    Copy the full SHA
    5bcbac4 View commit details
    Browse the repository at this point in the history