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

fixing item_list not found #1120

Merged
merged 1 commit into from
Jul 27, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@
* phil9l
* VictorChen
* AlvaroGzP
* fierysolid
6 changes: 3 additions & 3 deletions pokemongo_bot/cell_workers/evolve_all_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from pokemongo_bot import logger
from pokemongo_bot.human_behaviour import sleep
from item_list import Item
from pokemongo_bot.item_list import Item


class EvolveAllWorker(object):
Expand Down Expand Up @@ -159,12 +159,12 @@ def _execute_pokemon_evolve(self, pokemon, cache):
print('[#] Successfully evolved {} with {} CP and {} IV!'.format(
pokemon_name, pokemon_cp, pokemon_iv
))

if self.config.evolve_speed:
sleep(self.config.evolve_speed)
else:
sleep(3.7)

else:
# cache pokemons we can't evolve. Less server calls
cache[pokemon_name] = 1
Expand Down