Skip to content

Commit

Permalink
fixing item_list not found (#1120)
Browse files Browse the repository at this point in the history
  • Loading branch information
fierysolid authored and solderzzc committed Jul 27, 2016
1 parent fb85852 commit cc8992c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
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

0 comments on commit cc8992c

Please sign in to comment.